Skip to content

Commit

Permalink
Add default options for mypy in the profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner authored and carlio committed Jan 8, 2025
1 parent dc9dff2 commit 3273f5e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions prospector/profiles/profiles/strictness_high.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,10 @@ pydocstyle:
disable:
- D400
- D401

mypy:
options:
ignore-missing-imports: true
follow-imports: skip
disallow-untyped-defs: true
strict: false
4 changes: 4 additions & 0 deletions prospector/profiles/profiles/strictness_medium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,7 @@ pydocstyle:
- D101
- D102
- D103

mypy:
options:
disallow-untyped-defs: false
4 changes: 4 additions & 0 deletions prospector/profiles/profiles/strictness_veryhigh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ pyroma:
pydocstyle:
disable:
- D000

mypy:
options:
strict: true

0 comments on commit 3273f5e

Please sign in to comment.