setup.cfg 557 Bytes
Newer Older
Thomas Grainger's avatar
Thomas Grainger committed
1
2
[bdist_wheel]
universal=1
3

4
5
6
[metadata]
license_file = LICENSE

7
8
9
10
[pep8]
max-line-length = 120

[flake8]
11
# note: we ignore all 501s (line too long) anyway as they're taken care of by black
12
max-line-length = 120
13
ignore = E203, E402, W503, W504, F821, E501
14
15
16
17
18
19
per-file-ignores =
    __init__.py: F401, F403, F405
    ./hubconf.py: F401
    torchvision/models/mobilenet.py: F401, F403
    torchvision/models/quantization/mobilenet.py: F401, F403
    test/smoke_test.py: F401
20
exclude = venv
21
22
23

[pydocstyle]
select = D417 # Missing argument descriptions in the docstring