Skip to content

Commit 0bff742

Browse files
authored
Merge pull request #598 from TotallyNotRobots/improve-linting
Improve linting setup
2 parents a99f509 + a363766 commit 0bff742

File tree

15 files changed

+146
-584
lines changed

15 files changed

+146
-584
lines changed

.devcontainer/devcontainer.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,15 @@
2424
// "customizations": {},
2525

2626
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
27-
"remoteUser": "root"
27+
"remoteUser": "root",
28+
"customizations": {
29+
"vscode": {
30+
"extensions": [
31+
"tamasfe.even-better-toml",
32+
"ms-python.python",
33+
"ms-python.vscode-pylance",
34+
"EditorConfig.EditorConfig"
35+
]
36+
}
37+
}
2838
}

.mypy.ini

Lines changed: 0 additions & 12 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ repos:
5454
entry: mypy
5555
language: system
5656
types: [python]
57+
- id: darker
58+
name: darker
59+
entry: darker
60+
args:
61+
- -r
62+
- ':PRE-COMMIT:'
63+
language: system
64+
types: [python]
5765
- id: pylint
5866
name: pylint
5967
entry: pylint

0 commit comments

Comments
 (0)