Skip to content

Commit 90063ea

Browse files
authored
Merge pull request #45 from SundayWindy/feat/release
requirement(pandas): udpate pandas to 2.0.x
2 parents 41c621a + 8949d64 commit 90063ea

File tree

2 files changed

+66
-66
lines changed

2 files changed

+66
-66
lines changed

excelalchemy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""A Python Library for Reading and Writing Excel Files"""
22

3-
__version__ = '1.0.0'
3+
__version__ = '1.1.0'
44
from excelalchemy.const import CharacterSet
55
from excelalchemy.const import DataRangeOption
66
from excelalchemy.const import DateFormat

pyproject.toml

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,107 +1,107 @@
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'
1313
dependencies = [
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]
2828
development = [
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]
4242
exclude = [
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']
5151
enableTypeIgnoreComments = false
5252
reportUnusedFunction = false
53-
typeCheckingMode = "strict"
53+
typeCheckingMode = 'strict'
5454
reportUnusedImport = false
5555
reportMissingTypeStubs = false
5656
reportUnknownVariableType = 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']
7070
disable = [
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']
8989
jobs = 4
9090
score = false
9191
ignore-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
]
101101
extension-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]
118118
skip_gitignore = true
119-
profile = "black"
119+
profile = 'black'
120120
line_length = 120
121121
indent = ' '
122122
no_lines_before = 'LOCALFOLDER'

0 commit comments

Comments
 (0)