Skip to content

Commit a6b18bc

Browse files
committedSep 2, 2024
Improve config for development with VS Code
1 parent f7ce55c commit a6b18bc

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed
 

Diff for: ‎.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Tests
33
on: [push, pull_request]
44

55
jobs:
6-
build:
6+
tests:
77
runs-on: ubuntu-latest
88

99
strategy:

Diff for: ‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
.tox/
99
.venv*/
1010
.vs/
11+
.vscode/
1112

1213
build/
1314
dist/

Diff for: ‎pyproject.toml

+21
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,27 @@ typing-extensions = [
5353
[tool.black]
5454
target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311', 'py312']
5555

56+
[tool.pyright]
57+
reportIncompatibleVariableOverride = false
58+
reportMissingTypeArgument = false
59+
reportUnknownArgumentType = false
60+
reportUnknownMemberType = false
61+
reportUnknownParameterType = false
62+
reportUnnecessaryIsInstance = false
63+
reportUnknownVariableType = false
64+
ignore = ["**/test_*"] # test functions
65+
66+
[tool.pylint.basic]
67+
max-module-lines = 2000
68+
69+
[tool.pylint.messages_control]
70+
disable = [
71+
"method-hidden",
72+
"missing-module-docstring", # test modules
73+
"redefined-outer-name",
74+
"unused-variable", # test functions
75+
]
76+
5677
[build-system]
5778
requires = ["poetry_core>=1,<2", "setuptools>=59,<70"]
5879
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)
Please sign in to comment.