Skip to content

Commit be02d6a

Browse files
authored
Misc tasks (#63)
* Update setuptools in release script * Update default settings * Update flake config * Update pylint config
1 parent 0e2c11d commit be02d6a

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install requirements
2424
run: |
2525
python -m pip install -U pip twine wheel
26-
python -m pip install -U "setuptools>=56.0.0"
26+
python -m pip install -U "setuptools>=57.1.0"
2727
- name: Build distributions
2828
run: |
2929
python setup.py sdist bdist_wheel

.vscode/settings.default.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"python.linting.flake8Enabled": true,
88
"python.linting.pylintEnabled": true,
99
"python.linting.mypyEnabled": true,
10-
"python.testing.pytestArgs": [],
10+
"python.testing.pytestArgs": [
11+
"--disable-warnings"
12+
],
1113
"python.testing.unittestEnabled": false,
1214
"python.testing.nosetestsEnabled": false,
1315
"python.testing.pytestEnabled": true,

pylintrc

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ good-names =
1313
# duplicate-code - for scripts acceptable
1414
disable =
1515
superfluous-parens,
16-
missing-module-docstring,
17-
missing-class-docstring,
18-
missing-function-docstring,
16+
missing-docstring,
1917
too-many-instance-attributes,
2018
too-many-return-statements,
2119
too-many-locals,

setup.cfg

-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ console_scripts =
3030
python-typing-update = python_typing_update.__main__:main
3131

3232
[flake8]
33-
ignore = E203,E231,E701,W503,W504
34-
# E203,E231,E701 -> walrus
35-
# W503/504 -> line-break-before/after-binary-operator
3633
max_line_length = 119
3734
extend_exclude =
3835
.github,

0 commit comments

Comments
 (0)