File tree Expand file tree Collapse file tree 7 files changed +16
-18
lines changed
Expand file tree Collapse file tree 7 files changed +16
-18
lines changed Original file line number Diff line number Diff line change 1717 - name : Install Flit
1818 run : pip install flit
1919 - name : Install Dependencies
20- run : flit install --symlink
20+ run : make install
2121 - name : Install build dependencies
2222 run : pip install build
2323 - name : Build distribution
Original file line number Diff line number Diff line change 1818 - name : Install Flit
1919 run : pip install flit
2020 - name : Install Dependencies
21- run : flit install --symlink
21+ run : make install
2222 - name : Test
2323 run : make test-cov
2424 - name : Coverage
Original file line number Diff line number Diff line change 2121 - name : Install Flit
2222 run : pip install flit
2323 - name : Install Dependencies
24- run : flit install --symlink
24+ run : make install
2525 - name : Test
2626 run : pytest tests
2727
3636 - name : Install Flit
3737 run : pip install flit
3838 - name : Install Dependencies
39- run : flit install --symlink
39+ run : make install
4040 - name : Ruff Lint Check
4141 run : ruff check ellar_throttler tests
4242 - name : mypy
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ clean: ## Removing cached python compiled files
1212 find . -name .ruff_cache | xargs rm -rfv
1313
1414install : # # Install dependencies
15- flit install --deps develop --symlink
15+ pip install -r requirements.txt
16+ flit install --symlink
1617
1718install-full : # # Install dependencies
1819 make install
Original file line number Diff line number Diff line change @@ -49,19 +49,6 @@ Documentation = "https://github.com/python-ellar/ellar-throttler"
4949Source = " https://github.com/python-ellar/ellar-throttler"
5050Homepage = " https://python-ellar.github.io/ellar-throttler/"
5151
52- [project .optional-dependencies ]
53- test = [
54- " pytest >= 7.1.3,< 9.0.0" ,
55- " pytest-cov >= 2.12.0,<5.0.0" ,
56- " mypy == 1.8.0" ,
57- " ruff ==0.3.0" ,
58- " pytest-asyncio" ,
59- " autoflake" ,
60- ]
61- dev = [
62- " pre-commit"
63- ]
64-
6552[tool .ruff ]
6653select = [
6754 " E" , # pycodestyle errors
Original file line number Diff line number Diff line change 1+ autoflake
2+ mypy == 1.8.0
3+ pytest >= 7.1.3,< 9.0.0
4+ pytest-asyncio
5+ pytest-cov >= 2.12.0,<5.0.0
6+ ruff ==0.3.0
Original file line number Diff line number Diff line change 1+ -e .
2+ -r requirements-tests.txt
3+
4+ pre-commit >= 2.17.0 ,< 4.0.0
You can’t perform that action at this time.
0 commit comments