1
0
Fork 0

remove flake8 (#2544)

pull/2549/head
George Hotz 2023-12-01 09:48:41 -08:00 committed by GitHub
parent d8175a4380
commit 8fd8399437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 17 deletions

View File

@ -1,8 +0,0 @@
[flake8] # https://flake8.pycqa.org/en/6.0.0/user/options.html#cmdoption-flake8-select
filename =
*/tinygrad/*.py,
*/test/*.py
select=F,W6,E71,E72,E112,E113,E124,E203,E272,E303,E304,E502,E702,E703,E731,W191
indent-size=2
per-file-ignores =
test/*: F401, F403, F405, F541, E722, E731, F811, F821, F841

View File

@ -34,8 +34,6 @@ jobs:
run: python sz.py
- name: Lint with pylint
run: python -m pylint --disable=all -e W0311 -e C0303 --jobs=0 --indent-string=' ' **/*.py
- name: Lint with flake8
run: python -m flake8 . --statistics -j4
- name: Lint with ruff
run: |
pip3 install --upgrade --force-reinstall ruff

View File

@ -25,12 +25,6 @@ repos:
language: system
always_run: true
pass_filenames: false
- id: flake8
name: flake8
entry: flake8 --statistics -j4
language: system
always_run: true
pass_filenames: false
- id: tests
name: subset of TORCH tests
entry: env PYTHONPATH="." TORCH=1 python3 -m pytest -n=4 test/unit/ test/test_ops.py test/test_dtype.py test/test_schedule.py test/test_custom_function.py test/test_assign.py test/test_symbolic_shapetracker.py

View File

@ -29,7 +29,6 @@ setup(name='tinygrad',
'triton': ["triton-nightly>=2.1.0.dev20231014192330"],
'webgpu': ["wgpu>=v0.12.0"],
'linting': [
"flake8",
"pylint",
"mypy",
"typing-extensions",