mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-03-26 21:43:02 +00:00
Remove F403 and F405 exclusions
Importing from * is not a thing that should be done, as it masks errors and makes code hard to understand. There are some copy-pasta files that violate this. Mark them with noqa for now, because we don't actually care about them. Change-Id: I790f88c75ea546d83e347e42df0050ad36211936
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -51,7 +51,7 @@ commands = {posargs}
|
||||
# H4 are rules for docstrings. Maybe we should clean them?
|
||||
# E501,E402,H301,H236,F401,E128 are ignored so we can import the existing
|
||||
# modules unchanged and then clean them in subsequent patches.
|
||||
ignore = W503,H4,E501,E402,H301,H236,F401,E128,W504,F403,F405
|
||||
ignore = W503,H4,E501,E402,H301,H236,F401,E128,W504
|
||||
show-source = True
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,ansible_collections
|
||||
|
||||
|
||||
Reference in New Issue
Block a user