Skip to content

Conversation

@viseshrp
Copy link
Collaborator

@viseshrp viseshrp commented Jan 22, 2026

This PR introduces Ruff to the project with an initial minimal configuration, enabling only E (pycodestyle) rules for now, in line with PyAnsys recommendations. The goal is to integrate Ruff safely, with all fixes purely stylistic and non-behavior-changing. Line-length (E501) and type-comparison (E721) are ignored, and pydocstyle is configured to use NumPy-style docstrings. Additional selectors will be added progressively in upcoming PRs. This downgrade of the initial configuration was done as agreed to allow a gradual rollout of rules.

@codecov-commenter
Copy link

codecov-commenter commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.83%. Comparing base (2f68892) to head (ad61e90).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #484   +/-   ##
=======================================
  Coverage   81.83%   81.83%           
=======================================
  Files          28       28           
  Lines        8142     8142           
  Branches     1495     1495           
=======================================
  Hits         6663     6663           
  Misses       1007     1007           
  Partials      472      472           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dcansys dcansys changed the title rely on ruff for lint/format [DRAFT] Ruff integration Jan 29, 2026
@dcansys dcansys marked this pull request as draft January 29, 2026 10:14
@dcansys dcansys changed the title [DRAFT] Ruff integration [DRAFT] Ruff integration with initial minimal configuration Jan 29, 2026
@dcansys dcansys force-pushed the maint/ruff branch 7 times, most recently from ad61e90 to 201c89c Compare January 30, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants