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 #83

Merged
merged 1 commit into from
Jul 30, 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
  • Bumps the minimum version of Wagtail to 5.2, the latest LTS.

pyproject.toml Outdated Show resolved Hide resolved
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
Copy link
Member

@chosak chosak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@willbarton willbarton merged commit 601ad5f into main Jul 30, 2024
22 checks passed
@willbarton willbarton deleted the update/packaging-boilerplate branch July 30, 2024 15:15
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