Skip to content

Commit 816551a

Browse files
fixup! Initial project made by Codex
1 parent 5f58a1a commit 816551a

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,19 @@ known_first_party = ["pdfrest"]
4747
[tool.mypy]
4848
python_version = "3.9"
4949
warn_return_any = true
50-
# Don't turn on pretty: it breaks the JetBrains MyPy plugin
51-
# https://github.com/leinardi/mypy-pycharm/issues/73#issuecomment-1680840986
52-
# pretty = true
50+
pretty = true
5351
exclude = [
5452
'^\\.venv', # TOML literal string (single-quotes, no escaping necessary)
5553
'^build', # Skip build artifacts
5654
'^dist', # Skip distribution artifacts
5755
]
58-
files = "src"
56+
files = "."
57+
plugins = [
58+
"pydantic.mypy",
59+
]
60+
# Discover modules that were installed in the virtualenv
61+
python_executable = ".venv/bin/python"
62+
fixed_format_cache = true
5963

6064
[tool.pyright]
6165
venvPath = "."

0 commit comments

Comments
 (0)