Skip to content

Commit

Permalink
bump ruff to 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fpgmaas authored and rtyler committed Jul 16, 2024
1 parent f432c4f commit 1ca5e24
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ format: ## Format the code
$(info --- Rust format ---)
cargo fmt
$(info --- Python format ---)
ruff . --fix
ruff check . --fix
ruff format .

.PHONY: check-rust
Expand Down
6 changes: 3 additions & 3 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pandas = [
devel = [
"azure-storage-blob==12.20.0",
"mypy~=1.8.0",
"ruff~=0.3.0",
"ruff~=0.5.2",
"packaging>=20",
"pytest",
"pytest-mock",
Expand Down Expand Up @@ -76,7 +76,7 @@ strict_equality = true
include = '\.pyi?$'
exclude = "venv"

[tool.ruff]
[tool.ruff.lint]
select = [
# pycodestyle error
"E",
Expand All @@ -87,7 +87,7 @@ select = [
]
ignore = ["E501"]

[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["deltalake"]

[tool.pytest.ini_options]
Expand Down
2 changes: 1 addition & 1 deletion python/tests/test_file_system_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_file_info(file_systems, table_data):
info = store.get_file_info(file_path)
arrow_info = arrow_fs.get_file_info(file_path)

assert type(info) == type(arrow_info)
assert type(info) is type(arrow_info)
assert info.path == arrow_info.path
assert info.type == arrow_info.type
assert info.size == arrow_info.size
Expand Down

0 comments on commit 1ca5e24

Please sign in to comment.