Skip to content

Commit b0bad6f

Browse files
authored
Merge pull request #18 from compmec/style/pylint
Style: Use black and pylint to improve code quality
2 parents 41224bc + ecd609e commit b0bad6f

19 files changed

+682
-334
lines changed

.github/workflows/codecov.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ jobs:
3939
- name: Run coverage
4040
run: tox -e coverage
4141

42-
- name: Upload coverage reports to Codecov
43-
uses: codecov/codecov-action@v3
42+
- name: Upload coverage to Codecov
43+
uses: codecov/codecov-action@v5
4444
with:
45-
fail_ci_if_error: true
45+
token: ${{ secrets.CODECOV_TOKEN }}
46+
- name: Upload test results to Codecov
47+
if: ${{ !cancelled() }}
48+
uses: codecov/test-results-action@v1
49+
with:
50+
token: ${{ secrets.CODECOV_TOKEN }}

.pylintrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[MAIN]
2+
3+
disable=
4+
too-many-lines,

poetry.lock

Lines changed: 246 additions & 159 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "shapepy"
3-
version = "1.1.1"
3+
version = "1.1.2"
44
description = "Geometric 2D library"
55
authors = ["Carlos Adir <[email protected]>"]
66
readme = "README.md"
@@ -13,14 +13,18 @@ pynurbs = "^1.0.7"
1313
python = "^3.9"
1414

1515
[tool.poetry.dev-dependencies]
16-
pytest = "^5.2"
17-
pynurbs = "^1.0.7"
18-
black = "^23.0.0"
19-
isort = "^5.12.0"
20-
flake8 = "^5.0.0"
21-
pylint = "^3.0.0"
16+
pytest = "*"
17+
pynurbs = "*"
18+
black = "*"
19+
isort = "*"
20+
flake8 = "*"
21+
pylint = "*"
2222
pre-commit = "^3.0.0"
23-
mypy = "^1.0.0"
23+
coverage = "^7"
24+
pytest-cov = "^6"
25+
pytest-order = "^1.0"
26+
pytest-timeout = "^1.0"
27+
pytest-dependency = "^0.6"
2428

2529
[tool.poetry.group.dev.dependencies]
2630
pre-commit = "^3.3.3"

0 commit comments

Comments
 (0)