Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # v5.0.0
hooks:
- id: check-case-conflict
- id: check-docstring-first
Expand All @@ -27,11 +27,11 @@ repos:
types_or: [ python, pyi ]
language: system
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: ff671d6a030a3141634793e6d1e8909ab6091830
rev: ff671d6a030a3141634793e6d1e8909ab6091830 # v1.0.0
hooks:
- id: sphinx-lint
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.12
rev: aad66557af3b56ba6d4d69cd1b6cba87cef50cbb # v0.14.3
hooks:
- id: ruff-format
- id: ruff-check
Expand Down
1 change: 0 additions & 1 deletion bin/make-unasync
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import tokenize as std_tokenize
from pathlib import Path

import isort
import isort.files
import unasync


Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pandas = [
"pandas >= 1.1.0, < 3.0.0",
"numpy >= 1.21.2, < 3.0.0",
]
pyarrow = ["pyarrow >= 6.0.0, < 22.0.0"]
pyarrow = ["pyarrow >= 6.0.0, < 23.0.0"]


[build-system]
Expand Down Expand Up @@ -151,7 +151,7 @@ dep-project-dependencies = [
"pytz",
"numpy >= 1.7.0, < 3.0.0",
"pandas >= 1.1.0, < 3.0.0",
"pyarrow >= 6.0.0, < 22.0.0",
"pyarrow >= 6.0.0, < 23.0.0",
]

[tool.setuptools.dynamic]
Expand Down Expand Up @@ -286,9 +286,6 @@ extend-ignore = [
# needs fixing in ruff to work with typing.Protocol
# https://github.com/astral-sh/ruff/issues/13307
"FURB180",

# rule is deprected and suggests not recommended practice
"UP038",
]
select = [
# ruff
Expand Down
1 change: 0 additions & 1 deletion testkitbackend/_async/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from freezegun import freeze_time

import neo4j
import neo4j.api
import neo4j.auth_management
from neo4j._async_compat.util import AsyncUtil
from neo4j._routing import RoutingTable
Expand Down
1 change: 0 additions & 1 deletion testkitbackend/_sync/requests.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/integration/test_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def test_readme_contains_example():
test_path = Path(__file__)
readme_path = test_path.parents[2] / "README.rst"

with test_path.open("r") as fd:
with test_path.open("r", encoding="utf-8") as fd:
test_content = fd.read()
with readme_path.open("r") as fd:
with readme_path.open("r", encoding="utf-8") as fd:
readme_content = fd.read()

stripped_test_content = ""
Expand Down
1 change: 0 additions & 1 deletion tests/unit/common/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import pytest

import neo4j._api
import neo4j.api
from neo4j.addressing import Address
from neo4j.exceptions import ConfigurationError

Expand Down