Skip to content

Commit 6b07409

Browse files
committed
Merge branch 'master' of github.com:jazzband/jsonmodels into add/pyproject
2 parents 4a7aab7 + 3d369b8 commit 6b07409

17 files changed

+16
-45
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
- uses: actions/setup-python@v4
1212
with:
1313
python-version: "3.x"
14-
- uses: pre-commit/action@v2.0.3
14+
- uses: pre-commit/action@v3.0.1

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
test:
77
runs-on: ubuntu-latest
88
strategy:
9-
max-parallel: 7
9+
max-parallel: 5
1010
matrix:
11-
python-version: ["pypy-3.9", "pypy-3.10", "3.8", "3.9", "3.10", "3.11", "3.12"]
11+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1212

1313
steps:
1414
- uses: actions/checkout@v3

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
2-
- repo: https://github.com/psf/black
3-
rev: 23.11.0
2+
- repo: https://github.com/psf/black-pre-commit-mirror
3+
rev: 25.9.0
44
hooks:
55
- id: black
66
args: ["--target-version", "py37"]
77

88
- repo: https://github.com/PyCQA/isort
9-
rev: 5.12.0
9+
rev: 6.1.0
1010
hooks:
1111
- id: isort
1212

@@ -16,7 +16,7 @@ repos:
1616
- id: python-check-blanket-noqa
1717

1818
- repo: https://github.com/pre-commit/pre-commit-hooks
19-
rev: v4.5.0
19+
rev: v6.0.0
2020
hooks:
2121
- id: check-merge-conflict
2222
- id: check-yaml

CONTRIBUTING.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,9 @@ Ready to contribute? Here's how to set up `jsonmodels` for local development.
8484

8585
Now you can make your changes locally.
8686

87-
5. When you're done making changes, check that your changes pass the tests, including testing other Python versions with tox::
87+
5. When you're done making changes, check that your changes pass the tests:
8888

8989
$ pytest
90-
$ tox
91-
92-
To get tox, just pip install them into your virtualenv.
9390

9491
6. Commit your changes and push your branch to GitHub::
9592

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ help:
55
@echo "clean-pyc - remove Python file artifacts"
66
@echo "lint - check style with flake8"
77
@echo "test - run tests quickly with the default Python"
8-
@echo "test-all - run tests on every Python version with tox"
98
@echo "coverage - check code coverage quickly with the default Python"
109
@echo "docs - generate Sphinx HTML documentation, including API docs"
1110
@echo "release - package and upload a release"
@@ -30,9 +29,6 @@ lint:
3029
test:
3130
python setup.py test
3231

33-
test-all:
34-
tox
35-
3632
coverage:
3733
python setup.py test
3834
coverage html

history/1765305359937317-2681eb1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removed support for PyPy.

history/1765305379256114-8cc7bb9

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removed support for Python 3.8 and 3.9.

history/1765305394331882-c0e0955

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added support for Python 3.13 and 3.14.

jsonmodels/builders.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Builders to generate in memory representation of model and fields tree."""
22

3-
43
from collections import defaultdict
54

65
from . import errors

jsonmodels/collections.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
class ModelCollection(list):
2-
32
"""`ModelCollection` is list which validates stored values.
43
54
Validation is made with use of field passed to `__init__` at each point,

0 commit comments

Comments
 (0)