Skip to content

treewide: Fix lint issues - #817

Open
gastmaier wants to merge 1 commit into
rufffrom
ruff-fixes
Open

gastmaier wants to merge 1 commit into
rufffrom
ruff-fixes

Conversation

@gastmaier

Copy link
Copy Markdown
Collaborator

Description

Apply ruff format and ruff check --fix to all files, and fix the typos reported by codespell. Add indx to the codespell whitelist, used as a variable name.

Apply ruff format and ruff check --fix to all files, and fix the
typos reported by codespell. Add indx to the codespell whitelist,
used as a variable name.

Signed-off-by: Jorge Marques <jorge.marques@analog.com>
@github-actions

Copy link
Copy Markdown

Generated documentation for this PR is available at Link

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Test Results

2 368 tests  ±0   1 064 ✅  - 2   4m 31s ⏱️ -13s
    1 suites ±0   1 302 💤 ±0 
    1 files   ±0       1 ❌ +1   1 🔥 +1 

For more details on these failures and errors, see this check.

Results for commit 4c11f8c. ± Comparison against base commit 45e0023.

♻️ This comment has been updated with latest results.

@gastmaier
gastmaier requested a review from rodrigo455 November 25, 2026 08:48
@rodrigo455

Copy link
Copy Markdown
Collaborator

Is it possible to clear all those minor issues from static analysis report?

@gastmaier

gastmaier commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator Author

@rodrigo455 to make the ruff check less aggressive? yes it is tunable, the rules as is migrated from black, @tfcollins can provide feedback if we can make less picky.

IMO we should just do the bare ruff check, un-configured, it is pretty extensive already and focus on issues, not styling

@rodrigo455

Copy link
Copy Markdown
Collaborator

@rodrigo455 to make the ruff check less aggressive? yes it is tunable, the rules as is migrated from black, @tfcollins can provide feedback if we can make less picky.

IMO we should just do the bare ruff check, un-configured, it is pretty extensive already and focus on issues, not styling

I meant to configure it such that this output becomes clean:

https://app.codacy.com/gh/analogdevicesinc/pyadi-iio/pull-requests/817

This branch was previously deployed

1 inactive deployment
internal-pr — 4c11f8c3 Deployed Nov 24, 2026 by gastmaier via detect-new-classes #338
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.

2 participants