Currently the tooling doesn't support the syntax yet.
[flake8]
max-line-length = 88
ignore = W503, E203, E704
-extend-exclude = .venv build
+extend-exclude = .venv build tests/test_tstring.py
per-file-ignores =
# Autogenerated section
psycopg/psycopg/errors.py: E125, E128, E302
language: system
entry: black --check --diff --color --quiet
files: \.py[i]?$
+ exclude: tests/test_tstring.py
- id: codespell
name: codespell
language: system
entry: flake8
files: \.py$
+ exclude: tests/test_tstring.py
- id: mypy
name: mypy
language: system
entry: mypy --pretty --follow-imports=silent
files: \.py[i]?$
+ exclude: tests/test_tstring.py
strict = true
exclude = '''(?x)(
^ docs/lib/.*\.py
+ | tests/test_tstring\.py
)'''
[[tool.mypy.overrides]]
length_sort = true
multi_line_output = 9
sort_order = "psycopg" # requires the isort-psycopg module
+
+[tool.black]
+force_exclude = "tests/test_tstring.py"