Skip to content

Commit 97aa7b5

Browse files
committed
fixes version numbers and adds noqa E501
1 parent 17022fc commit 97aa7b5

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ repos:
88
hooks:
99
- id: isort
1010
- repo: https://github.com/psf/black
11-
rev: 22.6.0
11+
rev: 22.10.0
1212
hooks:
1313
- id: black
1414
args:
1515
- -l 88
1616
- repo: https://github.com/pre-commit/mirrors-mypy
17-
rev: "v0.971"
17+
rev: "v0.982"
1818
hooks:
1919
- id: mypy
2020
additional_dependencies: [types-requests]
@@ -26,7 +26,7 @@ repos:
2626
- id: flake8
2727
args:
2828
- "--max-line-length=88"
29-
- "--ignore=E203, W503, E251, E501"
29+
- "--ignore=E203, W503, E251"
3030
- repo: https://github.com/PyCQA/bandit
3131
rev: 1.7.4
3232
hooks:

arango_datasets/datasets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(
2626
self,
2727
db: Database,
2828
batch_size: Optional[int] = None,
29-
metadata_file: str = "https://arangodb-dataset-library.s3.amazonaws.com/root_metadata.json",
29+
metadata_file: str = "https://arangodb-dataset-library.s3.amazonaws.com/root_metadata.json", # noqa: E501
3030
):
3131
self.metadata_file: str = metadata_file
3232
self.metadata_contents: Dict[str, Any]

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ profile = black
33

44
[flake8]
55
max-line-length = 88
6-
extend-ignore = E203, W503, E251, E501
6+
extend-ignore = E203, W503, E251
77
exclude =.git .idea .*_cache dist venv
88

99
[mypy]

setup.py

+8-9
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,17 @@
1414

1515

1616
dev_requirements = [
17-
"black>=22.8.0",
18-
"pytest>=7.1.3",
19-
"sphinx>=5.1.1",
17+
"bandit>=1.7.4",
18+
"black>=22.10.0",
19+
"flake8>=5.0.4",
20+
"isort>=5.10.1",
21+
"mypy>=0.982",
2022
"pre-commit>=2.20.0",
21-
"types-requests>=2.28.11.2",
22-
"flake8>=3.9.2",
2323
"pytest>=7.1.3",
2424
"pytest-cov>=4.0.0",
25-
"isort>=5.9.3",
26-
"mypy>=0.930",
27-
"types-setuptools",
28-
"bandit>=1.7.4",
25+
"sphinx>=5.3.0",
26+
"types-requests>=2.28.11.2",
27+
"types-setuptools>=65.5.0.1",
2928
]
3029

3130
setup(

tests/test_main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_dataset_constructor() -> None:
1717
assert Datasets(
1818
db,
1919
batch_size=1000,
20-
metadata_file="https://arangodb-dataset-library.s3.amazonaws.com/root_metadata.json",
20+
metadata_file="https://arangodb-dataset-library.s3.amazonaws.com/root_metadata.json", # noqa: E501
2121
)
2222
with pytest.raises(Exception):
2323
assert Datasets({})

0 commit comments

Comments
 (0)