Setup.py pydantic modification

This commit is contained in:
Ayush Shah 2021-08-07 12:41:12 +05:30
parent 77f811f4c3
commit 65292c42cf
2 changed files with 9 additions and 1 deletions

8
.pylintrc Normal file
View File

@ -0,0 +1,8 @@
[MASTER]
fail-under=6.0
init-hook='from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))'
extension-pkg-allow-list=pydantic
[MESSAGES CONTROL]
disable=no-name-in-module
[TYPECHECK]
ignored-classes=optparse.Values,thread._local,_thread._local,SQLAlchemyHelper,FieldInfo

View File

@ -49,7 +49,7 @@ base_requirements = {
"typing_extensions>=3.7.4"
"mypy_extensions>=0.4.3",
"typing-inspect",
"pydantic<1.8.0,>=1.7.1",
"pydantic@https://github.com/samuelcolvin/pydantic/archive/refs/tags/v1.7.4.tar.gz#egg=pydantic",
"pydantic[email]>=1.7.2",
"google>=3.0.0",
"google-auth>=1.33.0",