diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-01-06 16:41:14 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-01-06 16:41:14 +0300 |
commit | 29aa827fb076fff57a0b4bde8b5e4e22fdda131a (patch) | |
tree | b35655ccdbe9f3efc56ec685c7e225659784e706 | |
parent | 54ef11172ffa11835535767df2bdd33d7e04e6c5 (diff) |
chore: Move pyright config into pyproject.toml
-rw-r--r-- | pyproject.toml | 10 | ||||
-rw-r--r-- | pyrightconfig.json | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/pyproject.toml b/pyproject.toml index 3ff9540..ecb2883 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,3 +3,13 @@ requires = [ "setuptools >= 43.0.0", ] build-backend = "setuptools.build_meta" + + +[tool.pyright] +pythonVersion = "3.10" +pythonPlatform = "All" +typeCheckingMode = "strict" + +reportUnnecessaryTypeIgnoreComment = "error" +reportPropertyTypeMismatch = "error" +reportMissingModuleSource = "none" diff --git a/pyrightconfig.json b/pyrightconfig.json deleted file mode 100644 index 9c4dd2b..0000000 --- a/pyrightconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "ignore": ["**/test", "setup.py"], - "typeCheckingMode": "strict", -} |