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

Update package tooling and boilerplate #77

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

willbarton
Copy link
Member

This change updates our tooling to make a few changes and updates:

  • Use Ruff exclusively for formatting, linting, and import-sorting. Ruff can replace Black and isort, and is faster.
  • Add Bandit for static security analysis.
  • Move to pyproject.toml
  • Add setuptools_scm for versioning. This will mean we don't have to manually update a version number in pyproject.toml.
  • Run ruff check --fix for linting fixes
  • Updates our officially supported versions of Django, Wagtail, and Django-Flags to the most recent versions

This change updates our tooling to make a few changes and updates:

- Use Ruff exclusively for formatting, linting, and import-sorting. Ruff can replace Black and isort, and is faster.
- Add Bandit for static security analysis.
- Move to pyproject.toml
- Add setuptools_scm for versioning. This will mean we don't have to manually update a version number in pyproject.toml.
- Run `ruff check --fix` for linting fixes
- Updates our officially supported versions of Django, Wagtail, and Django-Flags to the most recent versions
@willbarton willbarton merged commit 0de39cd into main Jul 5, 2024
16 checks passed
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.

1 participant