Project

General

Profile

Actions

Task #7777

open

Better linting

Added by Jakub Judiny 11 days ago. Updated 5 days ago.

Status:
In Review
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 #1

Updated by Jakub Judiny 11 days ago

  • Tracker changed from Bug to Task
Actions #2

Updated by Jakub Judiny 10 days ago

  • Status changed from In Progress to Resolved
Actions #3

Updated by Rajmund Hruška 5 days ago

  • Status changed from Resolved to In Review
Actions

Also available in: Atom PDF