Add rpmlint config to filter not important warnings and errors
This commit adds rpmlint config to filter warning and errors that are not really a problem. Such as no-documentation warning for python-pip-wheel which has documentation README shipped with main package but rpmlint does not see it. Then it filters out venv spelling error and adds temporary filter for non-executable-script and wrong-script-interpreter those will be fixed once all upstream PRs will be merged.
This commit is contained in:
parent
542eb0faf8
commit
903b01b22d
15
python-pip.rpmlintrc
Normal file
15
python-pip.rpmlintrc
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# This is just temporary, when upstream merges PRs it can be removed
|
||||||
|
# https://github.com/pypa/pip/pull/7959
|
||||||
|
# https://github.com/ActiveState/appdirs/pull/144
|
||||||
|
# https://github.com/psf/requests/pull/5410
|
||||||
|
# https://github.com/chardet/chardet/pull/192
|
||||||
|
addFilter(r'(non-executable-script|wrong-script-interpreter) .+/pip/_internal/__init__.py\b')
|
||||||
|
addFilter(r'(non-executable-script|wrong-script-interpreter) .+/pip/_vendor/appdirs.py\b')
|
||||||
|
addFilter(r'(non-executable-script|wrong-script-interpreter) .+/pip/_vendor/requests/certs.py\b')
|
||||||
|
addFilter(r'(non-executable-script|wrong-script-interpreter) .+/pip/_vendor/chardet/cli/chardetect.py\b')
|
||||||
|
|
||||||
|
# We ship README with the main package but not with the wheel
|
||||||
|
addFilter(r'python-pip-wheel.noarch: W: no-documentation')
|
||||||
|
|
||||||
|
# SPELLING ERRORS
|
||||||
|
addFilter(r'W: spelling-error .* venv')
|
Loading…
Reference in New Issue
Block a user