11[build-system ]
2- requires = [" flit_core >=3.2,<4" ]
3- build-backend = " flit_core.buildapi"
2+ requires = [' flit_core >=3.2,<4' ]
3+ build-backend = ' flit_core.buildapi'
44
55[project ]
6- name = " ExcelAlchemy"
7- authors = [{
name =
" 何睿 " ,
email =
" [email protected] " }]
8- readme = " README.md"
9- license = { file = " LICENSE" }
10- classifiers = [" License :: OSI Approved :: MIT License" ]
11- dynamic = [" version" , " description" ]
12- requires-python = " >=3.10"
6+ name = ' ExcelAlchemy'
7+ authors = [{
name =
' 何睿 ' ,
email =
' [email protected] ' }]
8+ readme = ' README.md'
9+ license = { file = ' LICENSE' }
10+ classifiers = [' License :: OSI Approved :: MIT License' ]
11+ dynamic = [' version' , ' description' ]
12+ requires-python = ' >=3.10'
1313dependencies = [
14- " pandas >=1.5.1 , <1.6 " ,
15- " minio >=7.0.0, <8" ,
16- " pydantic[email] >=1.9, <2" ,
17- " openpyxl >=3.0.10, <4" ,
14+ ' pandas >=2.0.0 , <2.1.0 ' ,
15+ ' minio >=7.0.0, <8' ,
16+ ' pydantic[email] >=1.9, <2' ,
17+ ' openpyxl >=3.0.10, <4' ,
1818 ' pendulum >=2.1.2, <3' ,
1919]
2020
2121[tool .flit .module ]
22- name = " excelalchemy"
22+ name = ' excelalchemy'
2323
2424[project .urls ]
25- Home = " https://github.com/SundayWindy/excelalchemy"
25+ Home = ' https://github.com/SundayWindy/excelalchemy'
2626
2727[project .optional-dependencies ]
2828development = [
29- " pandas-stubs" ,
30- " black" ,
31- " isort" ,
32- " mypy" ,
33- " pylint" ,
34- " pre-commit" ,
35- " pyright==1.1.299" ,
36- " pytest" ,
37- " coverage" ,
38- " pytest-cov" ,
29+ ' pandas-stubs' ,
30+ ' black' ,
31+ ' isort' ,
32+ ' mypy' ,
33+ ' pylint' ,
34+ ' pre-commit' ,
35+ ' pyright==1.1.299' ,
36+ ' pytest' ,
37+ ' coverage' ,
38+ ' pytest-cov' ,
3939]
4040
4141[tool .pyright ]
4242exclude = [
43- " .venv" ,
44- " venv" ,
45- " .git" ,
46- " **/.mypy_cache" ,
47- " **/__pycache__" ,
48- " **/.pytest_cache" ,
43+ ' .venv' ,
44+ ' venv' ,
45+ ' .git' ,
46+ ' **/.mypy_cache' ,
47+ ' **/__pycache__' ,
48+ ' **/.pytest_cache' ,
4949]
50- ignore = [" pands " ]
50+ ignore = [' pandas ' ]
5151enableTypeIgnoreComments = false
5252reportUnusedFunction = false
53- typeCheckingMode = " strict"
53+ typeCheckingMode = ' strict'
5454reportUnusedImport = false
5555reportMissingTypeStubs = false
5656reportUnknownVariableType = false
5757
5858
59- extension-pkg-whitelist = [" pydantic" , ' pendulum' ]
59+ extension-pkg-whitelist = [' pydantic' , ' pendulum' ]
6060
6161[tool .pylint .basic ]
62- attr-rgx = " ^[_a-z][a-z0-9_]*$" # snake_case
63- variable-rgx = " ^[_a-z][a-z0-9_]*$" # snake_case
64- argument-rgx = " ^[_a-z][a-z0-9_]*$" # snake_case
65- class-rgx = " ^(_?[A-Z][a-zA-Z0-9]*)*$"
66- method-rgx = " ^[_a-z][a-z0-9_]*$" # snake_case
62+ attr-rgx = ' ^[_a-z][a-z0-9_]*$' # snake_case
63+ variable-rgx = ' ^[_a-z][a-z0-9_]*$' # snake_case
64+ argument-rgx = ' ^[_a-z][a-z0-9_]*$' # snake_case
65+ class-rgx = ' ^(_?[A-Z][a-zA-Z0-9]*)*$'
66+ method-rgx = ' ^[_a-z][a-z0-9_]*$' # snake_case
6767
6868
6969[tool .pylint .'MESSAGES CONTROL' ]
7070disable = [
71- " missing-module-docstring" ,
72- " missing-function-docstring" ,
73- " missing-class-docstring" ,
74- " too-many-instance-attributes" ,
75- " too-many-arguments" ,
76- " too-few-public-methods" ,
77- " too-many-public-methods" ,
78- " no-else-return" ,
79- " no-else-raise" ,
80- " fixme" ,
81- " duplicate-code" ,
82- " redefined-builtin" ,
83- " broad-except" ,
84- " abstract-class-instantiated"
71+ ' missing-module-docstring' ,
72+ ' missing-function-docstring' ,
73+ ' missing-class-docstring' ,
74+ ' too-many-instance-attributes' ,
75+ ' too-many-arguments' ,
76+ ' too-few-public-methods' ,
77+ ' too-many-public-methods' ,
78+ ' no-else-return' ,
79+ ' no-else-raise' ,
80+ ' fixme' ,
81+ ' duplicate-code' ,
82+ ' redefined-builtin' ,
83+ ' broad-except' ,
84+ ' abstract-class-instantiated'
8585]
8686
8787
8888[tool .pylint .'MASTER' ]
8989jobs = 4
9090score = false
9191ignore-paths = [
92- " .git/" ,
93- " venv/" ,
94- " .venv/" ,
95- " .mypy_cache/" ,
96- " __pycache__/" ,
97- " .pytest_cache/" ,
98- " tests/" ,
99- " dist/" ,
92+ ' .git/' ,
93+ ' venv/' ,
94+ ' .venv/' ,
95+ ' .mypy_cache/' ,
96+ ' __pycache__/' ,
97+ ' .pytest_cache/' ,
98+ ' tests/' ,
99+ ' dist/' ,
100100]
101101extension-pkg-whitelist = [
102- " pydantic" ,
103- " pandas" ,
104- " pendulum" ,
102+ ' pydantic' ,
103+ ' pandas' ,
104+ ' pendulum' ,
105105
106106]
107107
@@ -116,7 +116,7 @@ max-line-length = 120
116116
117117[tool .isort ]
118118skip_gitignore = true
119- profile = " black"
119+ profile = ' black'
120120line_length = 120
121121indent = ' '
122122no_lines_before = ' LOCALFOLDER'
0 commit comments