Skip to content

Commit 811462b

Browse files
authored
Merge pull request #99 from altendky/tighten_mypy
Enable strict for mypy
2 parents 70238e1 + 0c27d38 commit 811462b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77
## 5.15.1.0 [unreleased]
88

99
### Added
10+
* [#99](https://github.com/stlehmann/PyQt5-stubs/pull/99) enable mypy's strict mode
1011
* [#92](https://github.com/stlehmann/PyQt5-stubs/pull/92) add `Sequence` methods and `.__setitem__()` to `sip.array`
1112
* [#94](https://github.com/stlehmann/PyQt5-stubs/pull/94) add several operators to `QIODevice.OpenMode` and `QIODevice.OpenModeFlag`
1213
* [#93](https://github.com/stlehmann/PyQt5-stubs/pull/93) test against 3.5, 3.6, 3.7, 3.8, and 3.9

setup.cfg

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[mypy]
2+
incremental = False
3+
4+
strict = True
5+
warn_unreachable = True
26
ignore_missing_imports = False
3-
disallow_untyped_calls = True
4-
disallow_untyped_defs = True

0 commit comments

Comments
 (0)