Project

General

Profile

Actions

Task #7777

closed

Better linting

Added by Jakub Judiny 3 months ago. Updated 3 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 #1

Updated by Jakub Judiny 3 months ago

  • Tracker changed from Bug to Task
Actions #2

Updated by Jakub Judiny 3 months ago

  • Status changed from In Progress to Resolved
Actions #3

Updated by Rajmund Hruška 3 months ago

  • Status changed from Resolved to In Review
Actions #4

Updated by Rajmund Hruška 3 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF