File tree Expand file tree Collapse file tree 7 files changed +20
-22
lines changed Expand file tree Collapse file tree 7 files changed +20
-22
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 : Linting check
4141 run : ruff check ellar_jwt 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 @@ -45,29 +45,14 @@ dependencies = [
4545 " pyjwt[crypto]"
4646]
4747
48- crypto = [
49- " cryptography>=3.3.1" ,
50- ]
51-
52- dev = [
53- " pre-commit"
54- ]
55-
5648[project .urls ]
5749Documentation = " https://github.com/python-ellar/ellar-jwt"
5850Source = " https://github.com/python-ellar/ellar-jwt"
5951Homepage = " https://python-ellar.github.io/ellar-jwt/"
6052
6153[project .optional-dependencies ]
62- test = [
63- " pytest >= 7.1.3,< 9.0.0" ,
64- " pytest-cov >= 2.12.0,<5.0.0" ,
65- " mypy == 1.8.0" ,
66- " ruff ==0.3.0" ,
67- " pytest-asyncio" ,
68- " autoflake" ,
69- " types-python-dateutil" ,
70- " types-pytz"
54+ crypto = [
55+ " cryptography>=3.3.1"
7156]
7257
7358[tool .ruff ]
Original file line number Diff line number Diff line change 1+ autoflake
2+ mypy == 1.8.0
3+ pytest >= 7.1.3,<8.0.0
4+ pytest-asyncio
5+ pytest-cov >= 2.12.0,<5.0.0
6+ ruff ==0.3.0
7+ types-python-dateutil
8+ types-pytz
Original file line number Diff line number Diff line change 1+ -e .[crypto ]
2+ -r requirements-tests.txt
3+
4+ pre-commit
You can’t perform that action at this time.
0 commit comments