diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 030d9e9..88b61f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,13 +17,18 @@ repos: - id: check-added-large-files - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.3.0 hooks: - id: black + - repo: https://github.com/adamchainz/blacken-docs + rev: 1.13.0 + hooks: + - id: blacken-docs + - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: "v0.0.239" + rev: "v0.0.261" hooks: - id: ruff diff --git a/pyproject.toml b/pyproject.toml index bf2308a..4fa861e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,4 +41,6 @@ Source = "https://github.com/scientific-python/yaml2ics" exclude = ["tests/*"] [tool.ruff] +line-length = 88 +target-version = "py38" select = ["F", "E", "W", "I", "UP"]