diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f6f369b..ee9aa37 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,20 +1,14 @@ repos: - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 23.1.0 hooks: - id: black - - repo: https://github.com/PyCQA/flake8 - rev: 6.0.0 + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.0.291 hooks: - - id: flake8 - - repo: https://github.com/PyCQA/isort - rev: 5.12.0 - hooks: - - id: isort - args: ['--profile', 'black'] + - id: ruff - repo: https://github.com/nbQA-dev/nbQA - rev: 1.6.3 + rev: 1.7.0 hooks: + - id: nbqa-ruff - id: nbqa-black - - id: nbqa-flake8 - - id: nbqa-isort \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index e40d378..cbcc32b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,9 @@ nbqa = "^1.6.1" [tool.poetry.group.notebook.dependencies] jupyter = "^1.0.0" +[tool.ruff] +ignore = ["E501"] + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"