Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-01-06 16:41:14 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-01-06 16:41:14 +0300
commit29aa827fb076fff57a0b4bde8b5e4e22fdda131a (patch)
treeb35655ccdbe9f3efc56ec685c7e225659784e706
parent54ef11172ffa11835535767df2bdd33d7e04e6c5 (diff)
chore: Move pyright config into pyproject.toml
-rw-r--r--pyproject.toml10
-rw-r--r--pyrightconfig.json4
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",
-}