Skip to content

Commit 4880bf6

Browse files
authored
Merge pull request #104 from moshi4/develop
Bump to v1.10.1
2 parents f4e4c60 + f9a4936 commit 4880bf6

40 files changed

+462
-373
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
run: uv sync --all-extras --all-groups --upgrade --python ${{ matrix.python-version }}
3030

3131
- name: Run ruff lint check
32-
run: uv run ruff check --diff
32+
run: uv run ruff check src tests
3333

3434
- name: Run ruff format check
35-
run: uv run ruff format --check --diff
35+
run: uv run ruff format src tests
3636

3737
- name: Run pytest
3838
run: uv run pytest --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=src | tee pytest-coverage.txt
@@ -42,4 +42,4 @@ jobs:
4242
with:
4343
pytest-coverage-path: pytest-coverage.txt
4444
junitxml-path: pytest.xml
45-
if: ${{ matrix.os=='ubuntu-latest' && matrix.python-version=='3.12' && !env.ACT }}
45+
if: ${{ matrix.os=='ubuntu-latest' && matrix.python-version=='3.12' }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ conda install -c conda-forge pycirclize ipympl
277277

278278
> [!WARNING]
279279
> Interactive tooltip plots require live python kernel.
280-
> Be aware that tooltips are not always enabled in the notebook after plotting.
280+
> Be aware that tooltips are not permanently enabled in the notebook after plotting.
281281
282282
![pyCirclize_tooltip.gif](https://raw.githubusercontent.com/moshi4/pyCirclize/main/docs/images/pyCirclize_tooltip.gif)
283283

docs/chord_diagram.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
],
417417
"metadata": {
418418
"kernelspec": {
419-
"display_name": ".venv",
419+
"display_name": "pycirclize (3.10.16)",
420420
"language": "python",
421421
"name": "python3"
422422
},
@@ -430,7 +430,7 @@
430430
"name": "python",
431431
"nbconvert_exporter": "python",
432432
"pygments_lexer": "ipython3",
433-
"version": "3.9.19"
433+
"version": "3.10.18"
434434
}
435435
},
436436
"nbformat": 4,

docs/circos_plot.ipynb

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

docs/comparative_genomics.ipynb

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/phylogenetic_tree.ipynb

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/plot_tips.ipynb

Lines changed: 6 additions & 4 deletions
Large diffs are not rendered by default.

docs/radar_chart.ipynb

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -62,28 +62,43 @@ addopts = "--cov=src --tb=long -vv --cov-report=xml --cov-report=term"
6262
testpaths = ["tests"]
6363

6464
[tool.ruff]
65-
include = ["src/**.py", "tests/**.py"]
6665
line-length = 88
6766

6867
# Lint Rules: https://docs.astral.sh/ruff/rules/
6968
[tool.ruff.lint]
7069
select = [
71-
"F", # pyflakes
72-
"E", # pycodestyle (Error)
73-
"W", # pycodestyle (Warning)
74-
"I", # isort
75-
"D", # pydocstyle
70+
"I", # isort
71+
"F", # pyflakes
72+
"E", # pycodestyle (Error)
73+
"W", # pycodestyle (Warning)
74+
"D", # pydocstyle
75+
"UP", # pyupgrade
76+
"PL", # Pylint
77+
"ANN", # flake8-annotations
78+
"TC", # flake8-type-checking
79+
"B", # flake8-bugbear
80+
"SIM", # flake8-simplify
81+
"ARG", # flake8-unused-arguments
82+
"PTH", # flake8-use-pathlib
83+
"RUF", # Ruff-specific rules
7684
]
7785
ignore = [
78-
"D100", # Missing docstring in public module
79-
"D101", # Missing docstring in public class
80-
"D104", # Missing docstring in public package
81-
"D105", # Missing docstring in magic method
82-
"D205", # 1 blank line required between summary line and description
83-
"D400", # First line should end with a period
84-
"D401", # First line should be in imperative mood
85-
"D403", # First word of the first line should be properly capitalized
86-
"D415", # First line should end with a period, question mark, or exclamation point
86+
"D100", # Missing docstring in public module
87+
"D101", # Missing docstring in public class
88+
"D104", # Missing docstring in public package
89+
"D105", # Missing docstring in magic method
90+
"D205", # 1 blank line required between summary line and description
91+
"D400", # First line should end with a period
92+
"D401", # First line should be in imperative mood
93+
"D403", # First word of the first line should be properly capitalized
94+
"D415", # First line should end with a period, question mark, or exclamation point
95+
"ANN002", # Missing type annotation for *{name}
96+
"ANN003", # Missing type annotation for **{name}
97+
"PTH123", # open() should be replaced by Path.open()
98+
"PLR0913", # Too many arguments in function definition ({c_args} > {max_args})
99+
"PLR2004", # Magic value used in comparison, consider replacing {value} with a constant variable
100+
"PLW2901", # Outer {outer_kind} variable {name} overwritten by inner {inner_kind} target
101+
"UP038", # Deprecated: Use X | Y in {} call instead of (X, Y)
87102
]
88103

89104
[tool.ruff.lint.pydocstyle]

src/pycirclize/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from pycirclize.circos import Circos
22

3-
__version__ = "1.10.0"
3+
__version__ = "1.10.1"
44

55
__all__ = [
66
"Circos",

0 commit comments

Comments
 (0)