Martin Hauser
6560aba3ee
chore(ruff): Expand configuration for linting and formatting
...
Update `ruff.toml` with additional exclusions, linting rules, and
formatting preferences. Includes support for respecting `.gitignore`
and a consistent coding style.
Fixes #21410
2026-02-15 20:06:19 +01:00
Martin Hauser
9be5aa188c
chore(ruff): Update target Python version to 3.12 ( #21405 )
...
Set the `target-version` in `ruff.toml` to Python 3.12. Ensures the
linter aligns with the version used in the project's environment.
Fixes #21404
2026-02-13 10:39:09 -08:00
Jeremy Stretch
2be257db48
Closes #19112 : Configure ruff to target Python 3.10 ( #19113 )
2025-04-08 09:46:31 -05:00
Jeremy Stretch
343a4af591
Closes #18022 : Extend linter (ruff) to enforce line length limit (120 chars) ( #18067 )
...
* Enable E501 rule
* Configure ruff formatter
* Reformat migration files to fix line length violations
* Fix various E501 errors
* Move table template code to template_code.py & ignore E501 errors
* Reformat raw SQL
2024-11-21 15:58:11 -05:00
Jeremy Stretch
a183048891
Closes #17951 : Extend Ruff ruleset
2024-11-07 11:52:02 -05:00
Jeremy Stretch
7ac6dff96d
Closes #17733 : Replace pycodestyle with ruff ( #17734 )
...
* Resolve F541 errors
* Resolve F841 errors
* Resolve F811 errors
* Resolve F901 errors
* Resolve E714 errors
* Ignore F821 errors for GraphQL mixins
* Replace pycodestyle with ruff
* Move ignores to ruff.toml
2024-10-11 07:43:46 -04:00