We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1daec9 commit 05aac95Copy full SHA for 05aac95
.circleci/config.yml
@@ -74,7 +74,7 @@ jobs:
74
75
- run:
76
name: Install python packages for static analysis
77
- command: pip install black mypy mypy_extensions autoflake profimp
+ command: pip install black mypy mypy_extensions flake8 profimp
78
79
80
name: Quick installation of Prefect
@@ -89,13 +89,8 @@ jobs:
89
command: mypy src/
90
91
92
- name: Check for potentially unused imports
93
- command: |
94
- if [[ $(autoflake --remove-all-unused-imports -r --exclude __init__.py src | tee .unused-imports.txt | wc -c ) -ne 0 ]]; then
95
- echo "Potentially unused imports found"
96
- cat .unused-imports.txt
97
- exit 2
98
- fi
+ name: Run flake8
+ command: flake8 src/
99
100
101
name: Ensure 'import prefect' is under 1 second
0 commit comments