Skip to content
This repository was archived by the owner on Jul 26, 2024. It is now read-only.

chore: Adding black library and formatters config #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

darkaico
Copy link

Love this extension to Django Admi, and I have some ideas to include it too.
What do you think if we include some common tools to format code (python / HTML) so contributions are aligned?

This PR includes:

  • Black dependency link
  • Pre-Commit rules link
  • GH action that runs pre-commit on every change to verify that code complies with lint rules.

Notes

I include a max-line length of 99 for python files given it makes it flexible enough to still see code in screen and with no useless breaks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant