• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eclipse-aascw / aas-core-codegen / 40144103453

24 Oct 2026 11:46PM UTC coverage: 90.226% (+0.02%) from 90.211%
40144103453

push

github

web-flow
Replace pylint with ruff (#867)

We lint the code base with ruff instead of pylint, which takes under
a second instead of almost two minutes. The precommit step ``pylint``
becomes ``ruff``, configured in ``dev/continuous_integration/ruff.toml``.
We select the rule families pointing to bugs and smells, and ignore the
ones against our style (*e.g.*, PEP 585 annotations or ``dict()``).

Ruff does not see type comments, so we replace them with annotations:

    lst: List[str] = []

instead of ``lst = []  # type: List[str]``, and enable ``F401``.

We fix what ruff found. For example, ``zip`` checks the lengths now:

    for root, field_name in zip(roots, field_names, strict=True):

and an ``assert`` message was a tuple due to a trailing comma. We also
use ``itertools.pairwise`` instead of our own helpers, and drop
the version blocks for Python versions before 3.10.

2419 of 2519 new or added lines in 241 files covered. (96.03%)

2 existing lines in 2 files now uncovered.

46367 of 51390 relevant lines covered (90.23%)

2.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

68.21
/aas_core_codegen/stringify.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc