Skip to content

Commit 158be67

Browse files
authored
Merge pull request #410 from JamesParrott/PyShp_v2
v2.4.2 Docs update. Drop Pylint.
2 parents b0445c0 + 68bc5c1 commit 158be67

5 files changed

Lines changed: 12 additions & 39 deletions

File tree

.github/workflows/run_tests_hooks_and_tools.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ name: Run pre-commit hooks and tests
55
on:
66
push:
77
pull_request:
8-
branches: [ master, ]
98
workflow_call:
109
workflow_dispatch:
1110

@@ -17,18 +16,6 @@ jobs:
1716
- uses: actions/setup-python@v5
1817
- uses: pre-commit/action@v3.0.1
1918

20-
pylint:
21-
runs-on: ubuntu-latest
22-
steps:
23-
- uses: actions/checkout@v4
24-
- uses: actions/setup-python@v5
25-
- name: install Pylint and plugin
26-
run: |
27-
python -m pip install --upgrade pip
28-
pip install pytest pylint pylint-per-file-ignores
29-
- name: run Pylint for errors and warnings only, on test_shapefile.py
30-
run: |
31-
pylint --disable=R,C test_shapefile.py
3219

3320
test_on_EOL_Pythons:
3421
strategy:

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles in pure Py
77
![build status](https://github.com/GeospatialPython/pyshp/actions/workflows/build.yml/badge.svg)
88

99
- **Author**: [Joel Lawhead](https://github.com/GeospatialPython)
10-
- **Maintainers**: [Karim Bahgat](https://github.com/karimbahgat)
11-
- **Version**: 2.3.1
12-
- **Date**: 28 July, 2022
10+
- **Maintainers**: [James Parrott](https://github.com/JamesParrott) & [Karim Bahgat](https://github.com/karimbahgat)
11+
- **Version**: 2.4.2
12+
- **Date**: 6th June, 2026
1313
- **License**: [MIT](https://github.com/GeospatialPython/pyshp/blob/master/LICENSE.TXT)
1414

1515
## Contents
@@ -95,6 +95,9 @@ part of your geospatial project.
9595

9696
# Version Changes
9797

98+
## 2.4.2
99+
Documentation update
100+
98101
## 2.4.1
99102

100103
### Improvements:

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
VERSION 2.4.2
2+
2026-06-06 Documentation update.
3+
14
VERSION 2.4.1
25

36
2025-07-30

pyproject.toml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,3 @@ skip-magic-trailing-comma = false
6767
line-ending = "auto"
6868

6969

70-
71-
[tool.pylint.MASTER]
72-
load-plugins=[
73-
"pylint_per_file_ignores",
74-
]
75-
76-
[tool.pylint.'MESSAGES CONTROL']
77-
# Silence warning: shapefile.py:2076:20: W0212: Access to a protected
78-
# member _from_geojson of a client class (protected-access)
79-
#
80-
# Silence warnings: test_shapefile.py:{783,786,799,803,06,1195}:19:
81-
# W0212: Access to a protected member _offsets of a
82-
# client class (protected-access)
83-
#
84-
# Toml multi-line string used instead of array due to:
85-
# https://github.com/christopherpickering/pylint-per-file-ignores/issues/160
86-
per-file-ignores = """
87-
shapefile.py:W0212
88-
test_shapefile.py:W0212
89-
"""

shapefile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
"""
2-
shapefile.py
2+
PyShp (shapefile.py)
33
Provides read and write support for ESRI Shapefiles.
44
authors: jlawhead<at>geospatialpython.com
5-
maintainer: karim.bahgat.norway<at>gmail.com
5+
maintainers: james<at>jamesparrott.dev and karim.bahgat.norway<at>gmail.com
66
Compatible with Python versions 2.7-3.x
77
"""
88

9-
__version__ = "2.4.1"
9+
__version__ = "2.4.2"
1010

1111
import array
1212
import io

0 commit comments

Comments
 (0)