Skip to content

Add linting to CI and pre-commit #95

@mgax

Description

@mgax

I was reviewing #94 and found myself making a number of stylistic suggestions that should have been caught by a linter:

  • Newlines at the end of files
  • Indentation in templates
  • Mixed quotes in templates

We can just pull the linting setup that https://github.com/wagtail/cookiecutter-wagtail-package configures for new packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions