Skip to content

Commit deefa51

Browse files
committed
Update to python 3.9.
- Some hand editing - `pyupgrade --py39-plus`
1 parent 546489e commit deefa51

File tree

4 files changed

+89
-166
lines changed

4 files changed

+89
-166
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ line-length = 88
3939
indent-width = 4
4040

4141
# Assume Python 3.9
42-
target-version = "py37"
42+
target-version = "py39"
4343

4444
[tool.ruff.lint]
4545
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
@@ -67,7 +67,6 @@ skip-magic-trailing-comma = false
6767
line-ending = "auto"
6868

6969

70-
7170
[tool.pylint.MASTER]
7271
load-plugins=[
7372
"pylint_per_file_ignores",

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ keywords = gis, geospatial, geographic, shapefile, shapefiles
1616
classifiers =
1717
Development Status :: 5 - Production/Stable
1818
Programming Language :: Python
19-
Programming Language :: Python :: 2.7
2019
Programming Language :: Python :: 3
2120
Topic :: Scientific/Engineering :: GIS
2221
Topic :: Software Development :: Libraries
2322
Topic :: Software Development :: Libraries :: Python Modules
2423

2524
[options]
2625
py_modules = shapefile
27-
python_requires = >=2.7
26+
python_requires = >=3.9
2827

2928
[bdist_wheel]
3029
universal=1

0 commit comments

Comments
 (0)