Skip to content

Commit 3d4b64b

Browse files
committed
CI: update workflow
1 parent abf7da5 commit 3d4b64b

2 files changed

Lines changed: 9 additions & 32 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,23 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v2
2828

29-
- name: Set up Python 3.8
29+
- name: Set up Python 3.9
3030
uses: actions/setup-python@v2
3131
with:
32-
python-version: 3.8
32+
python-version: 3.9
3333

3434
- name: Install dependencies
3535
run: |
3636
python -m pip install --upgrade pip
37-
pip install black #pylint
38-
pip install --editable .
37+
pip install --editable .[check]
38+
3939
- name: black check
4040
run: |
4141
python -m black --check --diff --color .
42-
# - name: pylint check
43-
# run: |
44-
# python -m pylint welltestpy/
42+
43+
- name: isort check
44+
run: |
45+
python -m isort --check --diff --color .
4546
4647
build_sdist:
4748
name: sdist on ${{ matrix.os }} with py ${{ matrix.python-version }}
@@ -50,7 +51,7 @@ jobs:
5051
fail-fast: false
5152
matrix:
5253
os: [ubuntu-latest, windows-latest, macos-latest]
53-
python-version: [3.6, 3.7, 3.8, 3.9]
54+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
5455

5556
steps:
5657
- uses: actions/checkout@v2

pyproject.toml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -115,27 +115,3 @@ target-version = ["py37"]
115115
"def __repr__",
116116
"def __str__",
117117
]
118-
119-
[tool.pylint]
120-
[tool.pylint.master]
121-
extension-pkg-whitelist = [
122-
"numpy",
123-
"scipy",
124-
]
125-
ignore = "_version.py"
126-
127-
[tool.pylint.message_control]
128-
disable = [
129-
"R0801",
130-
]
131-
132-
[tool.pylint.reports]
133-
output-format = "colorized"
134-
135-
[tool.pylint.design]
136-
max-args = 20
137-
max-locals = 50
138-
max-branches = 30
139-
max-statements = 80
140-
max-attributes = 25
141-
max-public-methods = 75

0 commit comments

Comments
 (0)