File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change
1
+ $env: python_packages = " atmosphere"
2
+
3
+ # Remove unused imports
4
+ autoflake " --ignore-init-module-imports" " --in-place" " -r" " --remove-all-unused-imports" " $env: python_packages "
5
+ # Sort imports one per line, so autoflake can remove unused imports
6
+ autopep8 - -in - place -- aggressive -- aggressive -- recursive $env: python_packages
7
+ isort -- force- single- line- imports $env: python_packages
8
+ # --exclude=__init__.py
9
+ black $env: python_packages
10
+ isort $env: python_packages
Original file line number Diff line number Diff line change
1
+ $env: python_packages = " atmosphere"
2
+
3
+ isort -- check- only -- verbose $env: python_packages
4
+ $env: EXIT_STATUS = $LASTEXITCODE
5
+ pylint $env: python_packages
6
+ $env: EXIT_STATUS = $LASTEXITCODE
7
+
8
+ exit $env: EXIT_STATUS
Original file line number Diff line number Diff line change
1
+ pytest -- cov= atmosphere -- cov- report= term- missing " ${@} "
You can’t perform that action at this time.
0 commit comments