File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,24 +40,33 @@ coverage:
4040 coverage run -m pytest --benchmark-disable
4141 coverage report --fail-under=100
4242
43- # lint code
44- lint :
43+ # lint code in local development
44+ lint : format-code code-analysis
45+
46+ # check code linting during continious integration
47+ ci-lint : check-code-formatting code-analysis
48+
49+ # analyse and re-format code
50+ format-code :
4551 # sort import statements
4652 isort .
4753 # format code with black
4854 black .
49- # run static type checker
50- mypy paseto tests --ignore-missing-imports
51- # run static code analysis
52- pylint paseto tests
5355
54- # check linting without changing source files
55- check-lint :
56+ # check code formatting without any changes
57+ check-code-formatting :
5658 # check imports
5759 isort --check-only .
5860 # check code formatting
5961 black --check .
6062
63+ # static code analysis
64+ code-analysis :
65+ # run static type checker
66+ mypy paseto tests --ignore-missing-imports
67+ # run static code analysis
68+ pylint paseto tests
69+
6170# build and test the entire project
6271build : lock install lint coverage
6372
You can’t perform that action at this time.
0 commit comments