Skip to content

Commit 085c502

Browse files
authored
Getting rid of mandatory setuptools dependency (#79)
* Getting rid of mandatory setuptools dependency * Reformatting
1 parent 6e9b9d5 commit 085c502

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
- id: trailing-whitespace
1919

2020
- repo: https://github.com/psf/black
21-
rev: 24.4.2
21+
rev: 26.1.0
2222
hooks:
2323
- id: black
2424

@@ -29,7 +29,7 @@ repos:
2929
args: [ --profile, black ]
3030

3131
- repo: https://github.com/PyCQA/flake8
32-
rev: 7.0.0
32+
rev: 7.3.0
3333
hooks:
3434
- id: flake8
3535

arangoasync/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.5"
1+
__version__ = "1.0.6"

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ classifiers = [
3838

3939
dependencies = [
4040
"packaging>=23.1",
41-
"setuptools>=42",
4241
"aiohttp>=3.9",
4342
"multidict>=6.0",
4443
"pyjwt>=2.8.0",
@@ -50,8 +49,8 @@ version = { attr = "arangoasync.version.__version__" }
5049
[project.optional-dependencies]
5150
dev = [
5251
"aiofiles>=24.1.0",
53-
"black>=24.2",
54-
"flake8>=7.0",
52+
"black==26.1.0",
53+
"flake8==7.3.0",
5554
"isort>=5.10",
5655
"mypy>=1.10",
5756
"pre-commit>=3.7",

tests/test_cursor.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ async def test_cursor_write_query(db, doc_col, docs):
131131
SORT d.val
132132
UPDATE {{_key: d._key, _val: @val }} IN {col}
133133
RETURN NEW
134-
""".format(
135-
col=doc_col.name
136-
),
134+
""".format(col=doc_col.name),
137135
bind_vars={"first": 1, "second": 2, "val": 42},
138136
count=True,
139137
batch_size=1,

0 commit comments

Comments
 (0)