aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/pyrightconfig.json
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:32 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:32 +0100
commit7122e2fced4ed8879442c08b9e97752c4b250f7c (patch)
tree0113afb656e4164960e9f61ff233a86a1938c733 /pyrightconfig.json
parentb8dece21038c2a93b3c1a340164c79a74099e567 (diff)
downloaddotfiles-7122e2fced4ed8879442c08b9e97752c4b250f7c.tar.gz
dotfiles-7122e2fced4ed8879442c08b9e97752c4b250f7c.tar.bz2
dotfiles-7122e2fced4ed8879442c08b9e97752c4b250f7c.zip
chore(python): add basedpyright type-checking
ruff (format + check) was already wired into fmt/check-fmt/lint. Add basedpyright as the type-checker for python so 'just lint' covers correctness too. Pyright config sets standard mode (lenient enough to not flood on stdlib edges) and excludes ipython_config.py whose 'c' is injected by IPython at config load time.
Diffstat (limited to 'pyrightconfig.json')
-rw-r--r--pyrightconfig.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/pyrightconfig.json b/pyrightconfig.json
new file mode 100644
index 0000000..7b59b39
--- /dev/null
+++ b/pyrightconfig.json
@@ -0,0 +1,11 @@
+{
+ "typeCheckingMode": "standard",
+ "include": ["**/*.py"],
+ "exclude": [
+ "**/.git/**",
+ "**/.venv/**",
+ "**/node_modules/**",
+ "dot_config/ipython/profile_default/ipython_config.py"
+ ],
+ "reportMissingTypeStubs": false
+}