Project

General

Profile

Actions

Task #7777

closed

Better linting

Added by Jakub Judiny 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Testing
Target version:
Start date:
09/10/2024
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

Currently, there is no linting of Jinja HTML templates. It would be nice to add it to the CI/CD pipeline. Djlint (https://www.djlint.com/) looks like the best option.

I think that we should also add a flake8-bugbear plugin to flake8, because it can catch some problematic mistakes.

Another thing to do could be to remove some of the disabled warning in flake8/pylint and try to correct the code.

Actions

Also available in: Atom PDF