π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
[pre-commit.ci] pre-commit suggestions (#2919)
pre-commit-ci[bot]aec0dd863fc1
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 7a7006790..01c66aeec 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -15,19 +15,19 @@ repos:exclude: ^$|.devcontainer- repo: https://github.com/tox-dev/pyproject-fmt- rev: "2.1.1"+ rev: "2.1.3"hooks:- id: pyproject-fmt- repo: https://github.com/astral-sh/ruff-pre-commit- rev: v0.4.4+ rev: v0.4.9hooks:- id: ruffargs: [--fix, --exit-non-zero-on-fix]- id: ruff-format- repo: https://github.com/codespell-project/codespell- rev: v2.2.6+ rev: v2.3.0hooks:- id: codespellargs:diff --git a/pyproject.toml b/pyproject.tomlindex ac956804e..4b3b95692 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -159,6 +159,12 @@ lint.select = [# "TD", # flake8-todos# "TRY", # tryceratops]+lint.ignore = [+ "PLR0915", # Allow condition check in list comprehension+ "PLW2901", # Allow overwritten values on loops+ "UP007", # Prefer Optional[], Union[] over | due to torch jit scripting+]+lint.per-file-ignores."*/__init__.py" = ["F401","F403",@@ -217,11 +223,6 @@ lint.pylint.max-args = 30 # Recommended: 5lint.pylint.max-branches = 21 # Recommended: 12lint.pylint.max-returns = 13 # Recommended: 6lint.pylint.max-statements = 64 # Recommended: 50-lint.ignore = [- "PLR0915", # Allow condition check in list comprehension- "PLW2901", # Allow overwritten values on loops- "UP007", # Prefer Optional[], Union[] over | due to torch jit scripting-][tool.pytest.ini_options]addopts = "--color=yes"