Skip to content

Using ruff for linting #04 #82

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

Merged

Conversation

saudzahirr
Copy link
Contributor

Update ruff lint select rules. This pull request includes follow-up modifications and refinements related to the integration of Ruff, a linter for Python. Updated rules in pyproject.toml:

  • SSecurity issues (via flake8-bandit), such as unsafe use of functions like eval, assert, etc.
  • EPEP 8 style errors (via pycodestyle)
  • ABuilt-in shadowing (via flake8-builtins) to avoid overwriting Python built-in names
  • NNaming conventions (e.g., snake_case for functions, PascalCase for classes)
  • IImport sorting (via isort)
  • BBug and bad practice detection (via flake8-bugbear)
  • YTTOutdated Python compatibility checks (via flake8-2020)
  • FLYf-string modernization (via flynt)
  • PIEMiscellaneous improvements and best practices (via flake8-pie)

@saudzahirr
Copy link
Contributor Author

@codie3611 this PR needs your review to move.

@codie3611 codie3611 merged commit 25effb6 into open-lasso-python:develop May 26, 2025
5 checks passed
@saudzahirr saudzahirr deleted the refactor/ruff_followup_04 branch May 26, 2025 07:26
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