Skip to content

Add stricter Ruff linting #291#292

Merged
Schamper merged 4 commits intofox-it:mainfrom
william-billaud:ruff_docstyle
Mar 10, 2026
Merged

Add stricter Ruff linting #291#292
Schamper merged 4 commits intofox-it:mainfrom
william-billaud:ruff_docstyle

Conversation

@william-billaud
Copy link
Contributor

@william-billaud william-billaud commented Mar 6, 2026

Add rules and format files according to these new rules.
Also exclude an autogenerated file from linting (could prevent ruff to raise issue if file was generated for wathever reason before lintung.

Fix #291

@codecov
Copy link

codecov bot commented Mar 10, 2026

Codecov Report

❌ Patch coverage is 42.85714% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 44.75%. Comparing base (8573d5d) to head (202af02).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
acquire/dynamic/windows/collect.py 0.00% 2 Missing ⚠️
acquire/dynamic/windows/exceptions.py 0.00% 1 Missing ⚠️
acquire/dynamic/windows/handles.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #292   +/-   ##
=======================================
  Coverage   44.75%   44.75%           
=======================================
  Files          26       26           
  Lines        3544     3546    +2     
=======================================
+ Hits         1586     1587    +1     
- Misses       1958     1959    +1     
Flag Coverage Δ
unittests 44.75% <42.85%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@Schamper Schamper merged commit 2956b06 into fox-it:main Mar 10, 2026
18 of 21 checks passed
@william-billaud william-billaud deleted the ruff_docstyle branch March 11, 2026 16:55
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.

Add stricter Ruff linting

2 participants