diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6043593..6919581 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,6 +14,11 @@ repos: additional_dependencies: - tomli + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.9.9 + hooks: + - id: ruff + - repo: https://github.com/pycqa/flake8 rev: 7.1.2 hooks: diff --git a/pyproject.toml b/pyproject.toml index b6236e8..5bc3130 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,6 +64,9 @@ scripts.cpplint = "cpplint:main" py-modules = [ "cpplint" ] include-package-data = false +[tool.ruff] +lint.ignore = [ "E701" ] + [tool.pytest.ini_options] python_files = [ "*test.py" ] testpaths = [ "." ]