diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index d422da4a467c86b14006cde63ca4de80972a5cf8..38491578f0640a6a75e868a230bfb07a34b04038 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -34,7 +34,6 @@ repos:
     rev: v0.7.4 # Use the latest version
     hooks:
       - id: ruff
-        # args: ["--fix", "--exit-non-zero-on-fix", "--show-fixes"]
         args: ["--fix", "--show-fixes"]
       - id: ruff-format
 
diff --git a/README.md b/README.md
index 638045f10ad4c140149840ae8f5396b6a58db8f0..6afe4d0d8e06f71aa479356b03d89ba5384da076 100644
--- a/README.md
+++ b/README.md
@@ -267,28 +267,36 @@ Publisher: Astral Software
 VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=charliermarsh.ruff
 ```
 
-#### pylint: nox + vscode extensions
+#### pyright: pre-commit + vscode
 
-## vscode extensions to install
-
-- "isort", which sort python import
+- install pre-commit
 
-```
-Name: isort
-Id: ms-python.isort
-Description: Import organization support for Python files using isort.
-Version: 2023.10.1
-Publisher: Microsoft
-VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-python.isort
+```yaml
+repos:
+  - repo: https://github.com/RobertCraigie/pyright-python
+    rev: v1.1.389
+    hooks:
+      - id: pyright
 ```
 
-- "pylint", for complrehensive code analysis
+- vscode: included in pylance automatically
 
+```json
+{
+  "python.defaultInterpreterPath": ".venv/bin/python",
+  "python.analysis.autoFormatStrings": true,
+  "python.analysis.autoImportCompletions": true,
+  "python.analysis.completeFunctionParens": true,
+  "python.analysis.inlayHints.functionReturnTypes": true,
+  "python.analysis.inlayHints.pytestParameters": true,
+  "python.analysis.inlayHints.variableTypes": true,
+  "python.analysis.typeCheckingMode": "strict",
+  "python.analysis.extraPaths": ["${workspaceFolder}/python"]
+}
 ```
-Name: Pylint
-Id: ms-python.pylint
-Description: Linting support for Python files using Pylint.
-Version: 2024.0.0
-Publisher: Microsoft
-VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-python.pylint
-```
+
+#### not used
+
+- pylint, replaced by ruff-lint
+- black, replaced by ruff-format
+- mypy, replaced by pyright
diff --git a/python/myproj/simulation/core.py b/python/myproj/simulation/core.py
index d540c4369c5f0c8fc5d182c6d8e7b5e8dfd8286d..c7f2525d57fe7f37bd715185daf3d482ad2a46a5 100644
--- a/python/myproj/simulation/core.py
+++ b/python/myproj/simulation/core.py
@@ -1,12 +1,9 @@
-import os
-
 from ._csrc._hello import add, complexf
 
 
 def div(a: float, b: float) -> float:
-    print(os.path)
-    return a / b + 1
+    return a / b
 
 
-def complex2(a: float, b: float) -> float:
+def complex2(a, b: float) -> float:
     return complexf(a, b) + add(a, b)