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

Comments

chore: Adding black library and formatters config#10

Open
darkaico wants to merge 2 commits intotimonweb:masterfrom
darkaico:chore/add-formatters
Open

chore: Adding black library and formatters config#10
darkaico wants to merge 2 commits intotimonweb:masterfrom
darkaico:chore/add-formatters

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