File tree Expand file tree Collapse file tree 8 files changed +34
-33
lines changed Expand file tree Collapse file tree 8 files changed +34
-33
lines changed Original file line number Diff line number Diff line change 17
17
- name : Install Flit
18
18
run : pip install flit
19
19
- name : Install Dependencies
20
- run : flit install --symlink
20
+ run : make install
21
21
- name : Install build dependencies
22
22
run : pip install build
23
23
- name : Build distribution
Original file line number Diff line number Diff line change 18
18
- name : Install Flit
19
19
run : pip install flit
20
20
- name : Install Dependencies
21
- run : flit install --symlink
21
+ run : make install
22
22
- name : Test
23
23
run : make test-cov
24
24
- name : Coverage
Original file line number Diff line number Diff line change 21
21
- name : Install Flit
22
22
run : pip install flit
23
23
- name : Install Dependencies
24
- run : flit install --symlink
24
+ run : make install
25
25
- name : Test
26
26
run : pytest tests
27
27
36
36
- name : Install Flit
37
37
run : pip install flit
38
38
- name : Install Dependencies
39
- run : flit install --symlink
39
+ run : make install
40
40
- name : Linting check
41
41
run : ruff check ellar_sql tests
42
42
- name : mypy
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ clean: ## Removing cached python compiled files
13
13
find . -name .ruff_cache | xargs rm -rfv
14
14
15
15
install : # # Install dependencies
16
- flit install --deps develop --symlink
16
+ pip install -r requirements.txt
17
+ flit install --symlink
17
18
18
19
install-full : # # Install dependencies
19
20
make install
Original file line number Diff line number Diff line change @@ -37,40 +37,12 @@ dependencies = [
37
37
" alembic >= 1.10.0"
38
38
]
39
39
40
- dev = [
41
- " pre-commit"
42
- ]
43
- doc = [
44
- " mkdocs >=1.1.2,<2.0.0" ,
45
- " mkdocs-material >=7.1.9,<10.0.0" ,
46
- " mdx-include >=1.4.1,<2.0.0" ,
47
- " mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0" ,
48
- " markdown-include" ,
49
- " mkdocstrings" ,
50
- " mkdocs-minify-plugin" ,
51
- " mkdocs-git-revision-date-localized-plugin"
52
- ]
53
-
54
40
[project .urls ]
55
41
Documentation = " https://github.com/python-ellar/ellar-sql"
56
42
Source = " https://github.com/python-ellar/ellar-sql"
57
43
Homepage = " https://python-ellar.github.io/ellar-sql/"
58
44
"Bug Tracker" = " https://github.com/python-ellar/ellar-sql/issues"
59
45
60
- [project .optional-dependencies ]
61
- test = [
62
- " pytest >= 7.1.3,< 9.0.0" ,
63
- " pytest-cov >= 2.12.0,<5.0.0" ,
64
- " pytest-asyncio" ,
65
- " aiosqlite" ,
66
- " anyio[trio] >= 3.2.1" ,
67
- " ruff ==0.3.0" ,
68
- " mypy == 1.8.0" ,
69
- " autoflake" ,
70
- " ellar-cli >= 0.3.3" ,
71
- " factory-boy >= 3.3.0"
72
- ]
73
-
74
46
[tool .ruff ]
75
47
select = [
76
48
" E" , # pycodestyle errors
Original file line number Diff line number Diff line change
1
+ markdown-include
2
+ mdx-include >=1.4.1,<2.0.0
3
+ mkdocs >=1.1.2,<2.0.0
4
+ mkdocs-git-revision-date-localized-plugin
5
+ mkdocs-markdownextradata-plugin >=0.1.7,<0.3.0
6
+ mkdocs-material >=7.1.9,<10.0.0
7
+ mkdocs-minify-plugin
8
+ mkdocstrings[python] >=0.19.0, <0.25.0
Original file line number Diff line number Diff line change
1
+ aiosqlite
2
+ anyio[trio] >= 3.2.1
3
+ autoflake
4
+ ellar-cli >= 0.3.7
5
+ factory-boy >= 3.3.0
6
+ mypy == 1.8.0
7
+ pytest >= 7.1.3,< 9.0.0
8
+ pytest-asyncio
9
+ pytest-cov >= 2.12.0,<5.0.0
10
+ ruff ==0.3.0
Original file line number Diff line number Diff line change
1
+ -e .[all ]
2
+ -r requirements-docs.txt
3
+ -r requirements-tests.txt
4
+
5
+ aiomcache
6
+
7
+ pre-commit >= 2.17.0 ,< 4.0.0
8
+ pylibmc
9
+ pymemcache
10
+ redis
You can’t perform that action at this time.
0 commit comments