We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c20d199 commit abc4ecdCopy full SHA for abc4ecd
2 files changed
check.ps1
@@ -0,0 +1,10 @@
1
+#
2
+# Small script to ensure quality checks pass before submitting a commit/PR.
3
4
+$ErrorActionPreference = "Stop"
5
+
6
+python -m ruff format docs src
7
+python -m ruff check --fix --unsafe-fixes docs src
8
9
+# "--platform win32" to not fail on ctypes.windll (it does not affect the overall check on other OSes)
10
+python -m mypy --platform win32 src docs/source/examples
docs/source/developers.rst
@@ -40,7 +40,8 @@ Code Quality
40
To ensure the code quality is correct enough::
41
42
$ python -m pip install -e '.[dev]'
43
- $ ./check.sh
+ $ ./check.sh # Linux/macOS
44
+ $ .\check.ps1 # Windows (PowerShell)
45
46
47
Documentation
0 commit comments