Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
10103d5d
Commit
10103d5d
authored
Jul 14, 2023
by
baberabb
Browse files
unstop flake8
parent
455c52c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.github/workflows/python-package.yml
.github/workflows/python-package.yml
+3
-3
No files found.
.github/workflows/python-package.yml
View file @
10103d5d
...
...
@@ -23,14 +23,14 @@ jobs:
python-version
:
3.9
-
name
:
Install dependencies
run
:
pip install -e '.[linting,testing]' --extra-index-url https://download.pytorch.org/whl/cpu
-
name
:
Lint with pylint
run
:
python -m pylint --disable=all -e W0311 --jobs=0 --indent-string=' ' **/*.py
-
name
:
Lint with flake8
run
:
|
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=F,E9,E71,E72,E501,E112,E113,W6 --show-source --statistics
flake8 . --count --select=F,E9,E71,E72,E501,E112,E113,W6 --show-source --statistics
-exit-zero
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
-
name
:
Lint with pylint
run
:
python -m pylint --disable=all -e W0311 --jobs=0 --indent-string=' ' **/*.py
-
name
:
Lint with mypy
run
:
mypy tinygrad/ --ignore-missing-imports --check-untyped-defs --explicit-package-bases --warn-unreachable
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment