rocm_jax/setup.cfg
Jake VanderPlas 7f89fd40a2 Cleanup: remove unused imports in private modules
Also improve our flake8 filter rules to avoid ignoring these.
2022-10-20 14:37:21 -07:00

49 lines
1.2 KiB
INI

[flake8]
max-line-length = 88
ignore =
C901 # object names too complex
E111, E114 # four-space indents
E121 # line continuations
W503, W504 # line breaks around binary operators
max-complexity = 18
select = B,C,F,W,T4,B9,E225,E227,E228
exclude =
.git,
build,
__pycache__
per-file-ignores =
# F811: redefinition of unused name
docs/autodidax.py:F811
# F401: unused imports
# Note: we don't use jax/*.py because this matches contents of jax/_src
__init__.py:F401
jax/abstract_arrays.py:F401
jax/ad_checkpoint.py:F401
jax/api_util.py:F401
jax/cloud_tpu_init.py:F401
jax/core.py:F401
jax/custom_batching.py:F401
jax/custom_derivatives.py:F401
jax/custom_transpose.py:F401
jax/debug.py:F401
jax/distributed.py:F401
jax/dlpack.py:F401
jax/dtypes.py:F401
jax/errors.py:F401
jax/flatten_util.py:F401
jax/prng.py:F401
jax/profiler.py:F401
jax/random.py:F401
jax/sharding.py:F401
jax/stages.py:F401
jax/test_util.py:F401
jax/tree_util.py:F401
jax/util.py:F401
jax/_src/api.py:F401
jax/_src/numpy/lax_numpy.py:F401
jax/experimental/*.py:F401
jax/lax/*.py:F401
jax/nn/*.py:F401
jax/numpy/*.py:F401
jax/scipy/*.py:F401