# 🔍 Description This is the follow-up of #5686, renaming `./pyhive` to `./python`, and also adding `**/python/*` to RAT exclusion list temporarily. "PyHive" may not be a suitable name after being part of Apache Kyuubi, let's use a generic dir name `python`, and discuss the official name later(we probably keep the code at `./python` eventually). ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 Recover RAT checked. --- # Checklist 📝 - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6279 from pan3793/pyhive-1. Closes #5686 42d338e71 [Cheng Pan] [KYUUBI #5686][FOLLOWUP] Rename pyhive to python Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
30 lines
970 B
INI
30 lines
970 B
INI
[egg_info]
|
|
tag_build =
|
|
|
|
[tool:pytest]
|
|
timeout = 100
|
|
timeout_method = thread
|
|
addopts = --random --tb=short --cov pyhive --cov-report html --cov-report term --flake8
|
|
norecursedirs = env
|
|
python_files = test_*.py
|
|
flake8-max-line-length = 100
|
|
flake8-ignore =
|
|
TCLIService/*.py ALL
|
|
pyhive/sqlalchemy_backports.py ALL
|
|
presto-server/** ALL
|
|
pyhive/hive.py F405
|
|
pyhive/presto.py F405
|
|
pyhive/trino.py F405
|
|
W503
|
|
filterwarnings =
|
|
error
|
|
# For Python 2 flake8
|
|
default:You passed a bytestring as `filenames`:DeprecationWarning:flake8.options.config
|
|
default::UnicodeWarning:_pytest.warnings
|
|
# TODO For old sqlalchemy
|
|
default:cgi.parse_qsl is deprecated:PendingDeprecationWarning:sqlalchemy.engine.url
|
|
# TODO
|
|
default:Did not recognize type:sqlalchemy.exc.SAWarning
|
|
default:The Binary type has been renamed to LargeBinary:sqlalchemy.exc.SADeprecationWarning
|
|
default:Please use assertRaisesRegex instead:DeprecationWarning
|