Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
1a4bacd
style: fix style using black
carlos-adir Jul 9, 2025
e269fe9
make flake8 ignore error E203
carlos-adir Jul 9, 2025
5998522
make flake8 ignore error E231
carlos-adir Jul 9, 2025
94a00ab
add prefix 'r' in function docstring to handle equations
carlos-adir Jul 9, 2025
d7c8ae5
reduce line length up to 79 chars
carlos-adir Jul 9, 2025
ed0d624
fix flake8 error of E731
carlos-adir Jul 9, 2025
2cd92d4
docs: add docstrings for curve.py file
carlos-adir Jul 9, 2025
9c23efd
docs: add docstrings for plot.py file
carlos-adir Jul 9, 2025
9e23651
refactor using pylint hints
carlos-adir Jul 9, 2025
e61464a
add docstrings for polygon
carlos-adir Jul 9, 2025
1ab9374
use pylint to improve code quality
carlos-adir Jul 9, 2025
dcdca50
fix: verifications on primitive Regular Polygon function
carlos-adir Jul 9, 2025
10b45d6
improve code smell using pylint
carlos-adir Jul 9, 2025
f0c8108
use pylint to improve plot.py code smell
carlos-adir Jul 9, 2025
64aaefd
use pylint to improve code smell
carlos-adir Jul 9, 2025
304c8ea
add docstrings
carlos-adir Jul 9, 2025
e9f642b
use pylint to improve code smell
carlos-adir Jul 9, 2025
778dcf9
disable some pylint. Needs further refacto
carlos-adir Jul 9, 2025
2a4bdfd
fix plot use of Matplotlib reference to Figure class
carlos-adir Jul 9, 2025
3a22e26
remove unused __or__ method
carlos-adir Jul 9, 2025
1babe22
general improvements on code smell with pylint
carlos-adir Jul 9, 2025
505c836
fix format with black
carlos-adir Jul 9, 2025
17fdb0d
pylint ignore chained comparaison for specific function
carlos-adir Jul 9, 2025
08a8e2d
make BaseShape inherit again from object
carlos-adir Jul 9, 2025
29b4c18
docs: add missing docstrings for shape.py module
carlos-adir Jul 9, 2025
a6283e3
dev: add pylint configuration file
carlos-adir Jul 9, 2025
39222ff
improve quality code with pylint and black
carlos-adir Jul 9, 2025
e698b7a
dev: update poetry dependencies for development
carlos-adir Jul 9, 2025
874888b
update poetry lock file
carlos-adir Jul 9, 2025
d46754f
dev: update version to 1.1.2
carlos-adir Jul 9, 2025
ecd609e
fix upload to coverage
carlos-adir Jul 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ jobs:
- name: Run coverage
run: tox -e coverage

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 4 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[MAIN]

disable=
too-many-lines,
405 changes: 246 additions & 159 deletions poetry.lock

Large diffs are not rendered by default.

20 changes: 12 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "shapepy"
version = "1.1.1"
version = "1.1.2"
description = "Geometric 2D library"
authors = ["Carlos Adir <carlos.adir.leite@gmail.com>"]
readme = "README.md"
Expand All @@ -13,14 +13,18 @@ pynurbs = "^1.0.7"
python = "^3.9"

[tool.poetry.dev-dependencies]
pytest = "^5.2"
pynurbs = "^1.0.7"
black = "^23.0.0"
isort = "^5.12.0"
flake8 = "^5.0.0"
pylint = "^3.0.0"
pytest = "*"
pynurbs = "*"
black = "*"
isort = "*"
flake8 = "*"
pylint = "*"
pre-commit = "^3.0.0"
mypy = "^1.0.0"
coverage = "^7"
pytest-cov = "^6"
pytest-order = "^1.0"
pytest-timeout = "^1.0"
pytest-dependency = "^0.6"

[tool.poetry.group.dev.dependencies]
pre-commit = "^3.3.3"
Expand Down
Loading