diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2f858cc0..29f7cb40 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -44,7 +44,6 @@ repos: hooks: - id: black name: Black code - args: ["-S"] - repo: https://github.com/executablebooks/mdformat rev: 0.7.17 diff --git a/pyproject.toml b/pyproject.toml index 79dfbcbf..5ef02cd0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,30 +1,5 @@ # Example configuration for Black. - -# NOTE: you have to use single-quoted strings in TOML for regular expressions. -# It's the equivalent of r-strings in Python. Multiline strings are treated as -# verbose regular expressions by Black. Use [ ] to denote a significant space -# character. - [tool.black] -line-length = 100 -target-version = ['py312'] -include = '\.pyi?$' -exclude = ''' -/( - \.git - | \.hg - | \.mypy_cache - | \.tox - | \.venv - | _build - | buck-out - | build - | dist - - # The following are specific to Black, you probably don't want those. - | blib2to3 - | tests/data - | profiling -)/ -''' +line-length = 120 +target-version = ['py311'] skip-string-normalization = true