Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Future linting improvements #642

Open
4 tasks
deltragon opened this issue Aug 25, 2024 · 0 comments
Open
4 tasks

Future linting improvements #642

deltragon opened this issue Aug 25, 2024 · 0 comments

Comments

@deltragon
Copy link
Collaborator

Followup to #615.

  • Forbid + for string concatenation
  • Sort/format imports
    Needs to figure out how to deal with gi.require_version calls mixed in
  • Improve doc comments, remove "obvious" ones
    this one might need to go into the style guide, if we can't check it automatically
  • Use constants instead of magic values - https://docs.astral.sh/ruff/rules/magic-value-comparison/
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

No branches or pull requests

1 participant