Skip to content

Linting: Tighten Ruff rules#116

Merged
kopperp merged 59 commits intomainfrom
improvement.ruff.rules
Mar 13, 2026
Merged

Linting: Tighten Ruff rules#116
kopperp merged 59 commits intomainfrom
improvement.ruff.rules

Conversation

@kopperp
Copy link
Copy Markdown
Collaborator

@kopperp kopperp commented Mar 13, 2026

Previously, we used a quite narrow subset of ruff rules. With #109, we can tighten the rules to reduce bug surface.

kopperp added 30 commits March 13, 2026 14:06
@kopperp kopperp added this to the v0.11.0 milestone Mar 13, 2026
@kopperp kopperp requested a review from scopplestone March 13, 2026 16:17
@kopperp kopperp self-assigned this Mar 13, 2026
@kopperp kopperp added the enhancement New feature or request label Mar 13, 2026
@github-actions
Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2987 2684 90% 85% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
pyhope/basis/basis_connect.py 100% 🟢
pyhope/basis/basis_jacobian.py 86% 🟢
pyhope/basis/basis_watertight.py 100% 🟢
pyhope/check/check_health.py 88% 🟢
pyhope/check/check_install.py 79% 🟢
pyhope/common/common_progress.py 57% 🟢
pyhope/common/common_template.py 100% 🟢
pyhope/common/common_tools.py 85% 🟢
pyhope/common/common_vars.py 100% 🟢
pyhope/io/formats/meshio.py 65% 🟢
pyhope/io/formats/vtk.py 100% 🟢
pyhope/io/io.py 99% 🟢
pyhope/io/io_debug.py 99% 🟢
pyhope/io/io_gmsh.py 100% 🟢
pyhope/io/io_xdmf.py 100% 🟢
pyhope/mesh/connect/connect.py 98% 🟢
pyhope/mesh/connect/connect_mortar.py 87% 🟢
pyhope/mesh/connect/connect_rbtree.py 100% 🟢
pyhope/mesh/elements/elements_ordering.py 100% 🟢
pyhope/mesh/elements/elements_shapefunctions.py 100% 🟢
pyhope/mesh/extrude/mesh_extrude.py 92% 🟢
pyhope/mesh/fem/fem.py 99% 🟢
pyhope/mesh/mesh.py 98% 🟢
pyhope/mesh/mesh_builtin.py 100% 🟢
pyhope/mesh/mesh_common.py 100% 🟢
pyhope/mesh/mesh_duplicates.py 100% 🟢
pyhope/mesh/mesh_external.py 100% 🟢
pyhope/mesh/mesh_mortar.py 100% 🟢
pyhope/mesh/mesh_orient.py 100% 🟢
pyhope/mesh/mesh_sides.py 100% 🟢
pyhope/mesh/mesh_sort.py 89% 🟢
pyhope/mesh/mesh_vars.py 100% 🟢
pyhope/mesh/reader/reader_gambit.py 100% 🟢
pyhope/mesh/reader/reader_gmsh.py 100% 🟢
pyhope/mesh/reader/reader_hopr.py 98% 🟢
pyhope/mesh/sort/sort_hilbert.py 100% 🟢
pyhope/mesh/topology/mesh_serendipity.py 98% 🟢
pyhope/mesh/topology/mesh_splittohex.py 84% 🟢
pyhope/mesh/topology/mesh_topology.py 73% 🟢
pyhope/mesh/transform/mesh_transform.py 78% 🟢
pyhope/meshio/meshio_convert.py 67% 🟢
pyhope/meshio/meshio_nodes.py 75% 🟢
pyhope/meshio/meshio_ordering.py 100% 🟢
pyhope/output/output.py 90% 🟢
pyhope/readintools/commandline.py 94% 🟢
pyhope/readintools/readintools.py 100% 🟢
pyhope/script/pyhope_cli.py 98% 🟢
TOTAL 93% 🟢

updated for commit: 1f45823 by action🐍

@kopperp kopperp merged commit 155ce85 into main Mar 13, 2026
13 checks passed
@kopperp kopperp deleted the improvement.ruff.rules branch March 13, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant