Browse Source
Merge pull request #1156 from octodns/update-black
Update black to 24.x series
pull/1157/head
Ross McFarland
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with
34 additions and
37 deletions
-
.git-blame-ignore-revs
-
octodns/record/naptr.py
-
requirements-dev.txt
-
requirements.txt
-
setup.py
|
|
|
@ -4,3 +4,5 @@ e116d26eeca0891c31b689e43db5bb60b62f73f6 |
|
|
|
fa4225b625654c51c7b0be6efcfd6a1109768a72 |
|
|
|
# Commit that added in isort formatting support |
|
|
|
6be0a8133a4fd9e12e6ac3affbdd69555b6c2503 |
|
|
|
# black 24.x |
|
|
|
f936d0fa1fee67bc6048ee80c0dad5c52c031ffd |
|
|
|
@ -13,14 +13,9 @@ class NaptrValue(EqualityTupleMixin, dict): |
|
|
|
@classmethod |
|
|
|
def parse_rdata_text(cls, value): |
|
|
|
try: |
|
|
|
( |
|
|
|
order, |
|
|
|
preference, |
|
|
|
flags, |
|
|
|
service, |
|
|
|
regexp, |
|
|
|
replacement, |
|
|
|
) = value.split(' ') |
|
|
|
(order, preference, flags, service, regexp, replacement) = ( |
|
|
|
value.split(' ') |
|
|
|
) |
|
|
|
except ValueError: |
|
|
|
raise RrParseError() |
|
|
|
try: |
|
|
|
|
|
|
|
@ -1,48 +1,48 @@ |
|
|
|
# DO NOT EDIT THIS FILE DIRECTLY - use ./script/update-requirements to update |
|
|
|
Pygments==2.17.2 |
|
|
|
black==23.11.0 |
|
|
|
build==1.0.3 |
|
|
|
certifi==2023.11.17 |
|
|
|
black==24.3.0 |
|
|
|
build==1.1.1 |
|
|
|
certifi==2024.2.2 |
|
|
|
cffi==1.16.0 |
|
|
|
charset-normalizer==3.3.2 |
|
|
|
click==8.1.7 |
|
|
|
cmarkgfm==2022.10.27 |
|
|
|
coverage==7.3.2 |
|
|
|
cmarkgfm==2024.1.14 |
|
|
|
coverage==7.4.4 |
|
|
|
docutils==0.20.1 |
|
|
|
exceptiongroup==1.2.0 |
|
|
|
importlib-metadata==6.8.0 |
|
|
|
importlib_metadata==7.1.0 |
|
|
|
iniconfig==2.0.0 |
|
|
|
isort==5.12.0 |
|
|
|
jaraco.classes==3.3.0 |
|
|
|
keyring==24.3.0 |
|
|
|
isort==5.13.2 |
|
|
|
jaraco.classes==3.3.1 |
|
|
|
keyring==24.3.1 |
|
|
|
markdown-it-py==3.0.0 |
|
|
|
mdurl==0.1.2 |
|
|
|
more-itertools==10.1.0 |
|
|
|
more-itertools==10.2.0 |
|
|
|
mypy-extensions==1.0.0 |
|
|
|
nh3==0.2.14 |
|
|
|
packaging==23.2 |
|
|
|
pathspec==0.11.2 |
|
|
|
pkginfo==1.9.6 |
|
|
|
platformdirs==4.0.0 |
|
|
|
pluggy==1.3.0 |
|
|
|
nh3==0.2.15 |
|
|
|
packaging==24.0 |
|
|
|
pathspec==0.12.1 |
|
|
|
pkginfo==1.10.0 |
|
|
|
platformdirs==4.2.0 |
|
|
|
pluggy==1.4.0 |
|
|
|
pprintpp==0.4.0 |
|
|
|
pycountry-convert==0.7.2 |
|
|
|
pycountry==22.3.5 |
|
|
|
pycountry==23.12.11 |
|
|
|
pycparser==2.21 |
|
|
|
pyflakes==3.1.0 |
|
|
|
pyflakes==3.2.0 |
|
|
|
pyproject_hooks==1.0.0 |
|
|
|
pytest-cov==4.1.0 |
|
|
|
pytest-mock==3.12.0 |
|
|
|
pytest-network==0.0.1 |
|
|
|
pytest==7.4.3 |
|
|
|
readme-renderer==42.0 |
|
|
|
pytest==8.1.1 |
|
|
|
readme_renderer==43.0 |
|
|
|
repoze.lru==0.7 |
|
|
|
requests-toolbelt==1.0.0 |
|
|
|
requests==2.31.0 |
|
|
|
rfc3986==2.0.0 |
|
|
|
rich==13.7.0 |
|
|
|
rich==13.7.1 |
|
|
|
tomli==2.0.1 |
|
|
|
twine==4.0.2 |
|
|
|
typing_extensions==4.8.0 |
|
|
|
urllib3==2.1.0 |
|
|
|
zipp==3.17.0 |
|
|
|
twine==5.0.0 |
|
|
|
typing_extensions==4.10.0 |
|
|
|
urllib3==2.2.1 |
|
|
|
zipp==3.18.1 |
|
|
|
@ -1,8 +1,8 @@ |
|
|
|
# DO NOT EDIT THIS FILE DIRECTLY - use ./script/update-requirements to update |
|
|
|
PyYAML==6.0.1 |
|
|
|
dnspython==2.4.2 |
|
|
|
dnspython==2.6.1 |
|
|
|
fqdn==1.5.1 |
|
|
|
idna==3.4 |
|
|
|
idna==3.6 |
|
|
|
natsort==8.4.0 |
|
|
|
python-dateutil==2.8.2 |
|
|
|
python-dateutil==2.9.0.post0 |
|
|
|
six==1.16.0 |
|
|
|
@ -61,7 +61,7 @@ setup( |
|
|
|
# likely to result in formatting changes that should happen in their |
|
|
|
# own PR. This will basically happen yearly |
|
|
|
# https://black.readthedocs.io/en/stable/the_black_code_style/index.html#stability-policy |
|
|
|
'black>=23.1.0,<24.0.0', |
|
|
|
'black>=24.3.0,<25.0.0', |
|
|
|
'build>=0.7.0', |
|
|
|
'isort>=5.11.5', |
|
|
|
'pycountry>=19.8.18', |
|
|
|
|