Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix ini syntax
  • Loading branch information
AlexWaygood committed May 12, 2023
commit 62669d1ee421551c48715d859e73485d8c948b3f
3 changes: 2 additions & 1 deletion Tools/clinic/mypy.ini

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I usually put my mypy config in a pyproject.toml file these days, but a mypy.ini file feels like it makes more "sense" unless we're planning on adding other linters/formatters to check clinic.py in the future

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[mypy]
python_version = 3.10 # make sure clinic can still be run on Python 3.10
# make sure clinic can still be run on Python 3.10
Comment thread
AlexWaygood marked this conversation as resolved.
Resolved
python_version = 3.10
pretty = True
enable_error_code = ignore-without-code
disallow_any_generics = True
Expand Down