Skip to content

Commit 79c51c9

Browse files
committed
Update pinned deps
1 parent c176cf7 commit 79c51c9

File tree

8 files changed

+44
-36
lines changed

8 files changed

+44
-36
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

deps/check.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,48 @@
44
#
55
# pip-compile --output-file=deps/check.txt deps/check.in
66
#
7-
autoflake==2.2.1
7+
autoflake==2.3.0
88
# via shed
9-
black==23.9.0
9+
black==24.2.0
1010
# via shed
1111
click==8.1.7
1212
# via black
1313
com2ann==0.3.0
1414
# via shed
15-
flake8==6.1.0
15+
flake8==7.0.0
1616
# via -r deps/check.in
17-
isort==5.12.0
17+
isort==5.13.2
1818
# via shed
19-
libcst==1.0.1
19+
libcst==1.2.0
2020
# via shed
2121
mccabe==0.7.0
2222
# via flake8
23-
mypy==1.5.1
23+
mypy==1.8.0
2424
# via -r deps/check.in
2525
mypy-extensions==1.0.0
2626
# via
2727
# black
2828
# mypy
2929
# typing-inspect
30-
packaging==23.1
30+
packaging==23.2
3131
# via black
32-
pathspec==0.11.2
32+
pathspec==0.12.1
3333
# via black
34-
platformdirs==3.10.0
34+
platformdirs==4.2.0
3535
# via black
36-
pycodestyle==2.11.0
36+
pycodestyle==2.11.1
3737
# via flake8
38-
pyflakes==3.1.0
38+
pyflakes==3.2.0
3939
# via
4040
# autoflake
4141
# flake8
42-
pyupgrade==3.10.1
42+
pyupgrade==3.15.1
4343
# via shed
4444
pyyaml==6.0.1
4545
# via libcst
46-
ruff==0.0.287
46+
ruff==0.3.0
4747
# via -r deps/check.in
48-
shed==2023.6.1
48+
shed==2024.1.1
4949
# via -r deps/check.in
5050
tokenize-rt==5.2.0
5151
# via pyupgrade
@@ -54,7 +54,7 @@ tomli==2.0.1
5454
# autoflake
5555
# black
5656
# mypy
57-
typing-extensions==4.7.1
57+
typing-extensions==4.10.0
5858
# via
5959
# black
6060
# libcst

deps/test.txt

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,63 +4,63 @@
44
#
55
# pip-compile --output-file=deps/test.txt deps/test.in setup.py
66
#
7-
arrow==1.2.3
7+
arrow==1.3.0
88
# via isoduration
9-
attrs==23.1.0
9+
attrs==23.2.0
1010
# via
1111
# hypothesis
1212
# jsonschema
1313
# referencing
14-
coverage[toml]==7.3.1
14+
coverage[toml]==7.4.3
1515
# via pytest-cov
16-
exceptiongroup==1.1.3
16+
exceptiongroup==1.2.0
1717
# via
1818
# hypothesis
1919
# pytest
2020
execnet==2.0.2
2121
# via pytest-xdist
2222
fqdn==1.5.1
2323
# via jsonschema
24-
hypothesis==6.84.3
24+
hypothesis==6.98.15
2525
# via hypothesis-jsonschema (setup.py)
26-
idna==3.4
26+
idna==3.6
2727
# via jsonschema
2828
iniconfig==2.0.0
2929
# via pytest
3030
isoduration==20.11.0
3131
# via jsonschema
3232
jsonpointer==2.4
3333
# via jsonschema
34-
jsonschema[format]==4.19.0
34+
jsonschema[format]==4.21.1
3535
# via
3636
# -r deps/test.in
3737
# hypothesis-jsonschema (setup.py)
38-
jsonschema-specifications==2023.7.1
38+
jsonschema-specifications==2023.12.1
3939
# via jsonschema
40-
packaging==23.1
40+
packaging==23.2
4141
# via pytest
42-
pluggy==1.3.0
42+
pluggy==1.4.0
4343
# via pytest
44-
pytest==7.4.2
44+
pytest==8.0.2
4545
# via
4646
# -r deps/test.in
4747
# pytest-cov
4848
# pytest-xdist
4949
pytest-cov==4.1.0
5050
# via -r deps/test.in
51-
pytest-xdist==3.3.1
51+
pytest-xdist==3.5.0
5252
# via -r deps/test.in
53-
python-dateutil==2.8.2
53+
python-dateutil==2.9.0.post0
5454
# via arrow
55-
referencing==0.30.2
55+
referencing==0.33.0
5656
# via
5757
# jsonschema
5858
# jsonschema-specifications
5959
rfc3339-validator==0.1.4
6060
# via jsonschema
6161
rfc3987==1.3.8
6262
# via jsonschema
63-
rpds-py==0.10.2
63+
rpds-py==0.18.0
6464
# via
6565
# jsonschema
6666
# referencing
@@ -74,6 +74,8 @@ tomli==2.0.1
7474
# via
7575
# coverage
7676
# pytest
77+
types-python-dateutil==2.8.19.20240106
78+
# via arrow
7779
uri-template==1.3.0
7880
# via jsonschema
7981
webcolors==1.13

src/hypothesis_jsonschema/_canonicalise.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
most things by construction instead of by filtering. That's the difference
1313
between "I'd like it to be faster" and "doesn't finish at all".
1414
"""
15+
1516
import contextlib
1617
import itertools
1718
import json
@@ -58,7 +59,7 @@
5859
ALL_KEYWORDS = (
5960
*SCHEMA_KEYS,
6061
*SCHEMA_OBJECT_KEYS,
61-
*sum((s.split() for _, s in TYPE_SPECIFIC_KEYS), []),
62+
*(k for _, s in TYPE_SPECIFIC_KEYS for k in s.split()),
6263
)
6364

6465

src/hypothesis_jsonschema/_encode.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Canonical encoding for the JSONSchema semantics, where 1 == 1.0."""
2+
23
import json
34
import math
45
import platform

src/hypothesis_jsonschema/_from_schema.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -656,9 +656,11 @@ def object_schema(
656656
alphabet.check_name_allowed(name)
657657
known_optional_names: List[str] = sorted(known - set(required))
658658
name_strats = (
659-
__from_schema(names, custom_formats=custom_formats, alphabet=alphabet)
660-
if additional_allowed
661-
else st.nothing(),
659+
(
660+
__from_schema(names, custom_formats=custom_formats, alphabet=alphabet)
661+
if additional_allowed
662+
else st.nothing()
663+
),
662664
st.sampled_from(known_optional_names) if known_optional_names else st.nothing(),
663665
st.one_of(
664666
[

src/hypothesis_jsonschema/_resolve.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
most things by construction instead of by filtering. That's the difference
1313
between "I'd like it to be faster" and "doesn't finish at all".
1414
"""
15+
1516
from copy import deepcopy
1617
from typing import NoReturn, Optional, Union
1718

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ deps =
1010
commands =
1111
shed
1212
python tests/format_json.py
13-
ruff --fix .
13+
ruff check --fix .
1414
mypy --config-file=tox.ini src/
1515

1616
[testenv:test]
@@ -60,7 +60,7 @@ ignore = D1,E203,E501,W503,S101,S310
6060
exclude = .*/,__pycache__
6161

6262
[mypy]
63-
python_version = 3.6
63+
python_version = 3.8
6464
platform = linux
6565
disallow_untyped_calls = True
6666
disallow_untyped_defs = True

0 commit comments

Comments
 (0)