Opened 4 years ago
Last modified 2 years ago
#13304 new enhancement
Implement code formatting and style checking tools — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | next-dev-1.7.x |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
(from comment:93:ticket:12130)
Use formatting and style checking tools such as:
Other candidates are:
Implement ignore rules, as needed, in setup.cfg
. Example:
[pycodestyle] max-line-length = 80 ignore = E126, E127, E128, E129, E131, E241, E731
Format code to remove all warnings and errors.
Add a Makefile command make check-code
, which executes the style check tool and contrib/jinja2checker.py
. The tool can be run before submitting a "pull request" and before releases.
Note:
See TracTickets
for help on using tickets.