-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: common mypy configuration file
- Loading branch information
goerlibe
committed
Sep 11, 2023
1 parent
60f5ad1
commit 89971d0
Showing
3 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This file is part of the DiscoPoP software (http://www.discopop.tu-darmstadt.de) | ||
# | ||
# Copyright (c) 2020, Technische Universitaet Darmstadt, Germany | ||
# | ||
# This software may be modified and distributed under the terms of | ||
# the 3-Clause BSD License. See the LICENSE file in the package base | ||
# directory for details. | ||
|
||
# this file specifies common mypy options for the DiscoPoP project | ||
# call mypy with `--config-file=mypy.ini` | ||
# check https://mypy.readthedocs.io/en/stable/config_file.html for more details | ||
|
||
[mypy] | ||
# select files to check | ||
files = discopop_explorer, discopop_library, discopop_profiler, discopop_wizard | ||
|
||
# helps to catch typos in this file | ||
warn_unused_configs = True | ||
# the following options should be enabled one by one, then we will switch to `strict` type checking: | ||
|
||
#warn_redundant_casts = True | ||
|
||
#disallow-any-generics | ||
#disallow-subclassing-any | ||
#disallow-untyped-calls | ||
#disallow-untyped-defs | ||
#disallow-incomplete-defs | ||
#check-untyped-defs | ||
#disallow-untyped-decorators | ||
#warn-unused-ignores | ||
#warn-return-any | ||
#no-implicit-reexport | ||
#strict-equality | ||
#extra-checks | ||
|
||
# while we transition to --strict, we will allow project-specific settings, later everything should be strictly checked | ||
[mypy-discopop_explorer.*] | ||
|
||
[mypy-discopop_library.*] | ||
|
||
[mypy-discopop_profiler.*] | ||
|
||
[mypy-discopop_wizard.*] |