diff options
author | David Robertson <davidr@element.io> | 2022-04-08 14:36:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 14:36:09 +0100 |
commit | dd5cc37aa465df8e33fd872de2528dc53740b2a6 (patch) | |
tree | 62ef2be984ed6f74eca9662ae39f07546dca6dd7 /pyproject.toml | |
parent | Unify HTTP query parameter type hints (#12415) (diff) | |
download | synapse-dd5cc37aa465df8e33fd872de2528dc53740b2a6.tar.xz |
Stop maintaining a list of lint targets in `lint.sh` (#12420)
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/pyproject.toml b/pyproject.toml index 92ea302b75..d44fcf4192 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,24 +36,9 @@ [tool.black] target-version = ['py37', 'py38', 'py39', 'py310'] -exclude = ''' - -( - /( - \.eggs # exclude a few common directories in the - | \.git # root of the project - | \.tox - | \.venv - | \.env - | env - | _build - | _trial_temp.* - | build - | dist - | debian - )/ -) -''' +# black ignores everything in .gitignore by default, see +# https://black.readthedocs.io/en/stable/usage_and_configuration/file_collection_and_discovery.html#gitignore +# Use `extend-exclude` if you want to exclude something in addition to this. [tool.isort] line_length = 88 @@ -65,6 +50,7 @@ known_twisted = ["twisted", "OpenSSL"] multi_line_output = 3 include_trailing_comma = true combine_as_imports = true +skip_gitignore = true [tool.poetry] name = "matrix-synapse" |