jazzband / django-fsm-log

Automatic logging for Django FSM
https://django-fsm-log.readthedocs.io/en/latest/
MIT License
242 stars 78 forks source link

Add precommit and linting tools #123

Closed ticosax closed 2 years ago

ticosax commented 2 years ago

rebased version of #120 + integration of the linters in the CI

ticosax commented 2 years ago

I misunderstood how the pre-commit ci works. I agree with your suggestions. thanks

codecov[bot] commented 2 years ago

Codecov Report

Merging #123 (ebe5302) into master (ecfb7d0) will decrease coverage by 0.23%. The diff coverage is 96.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #123      +/-   ##
==========================================
- Coverage   95.28%   95.04%   -0.24%     
==========================================
  Files          25       25              
  Lines         509      505       -4     
==========================================
- Hits          485      480       -5     
- Misses         24       25       +1     
Impacted Files Coverage Δ
django_fsm_log/migrations/0001_initial.py 100.00% <ø> (ø)
...ango_fsm_log/migrations/0002_auto_20151207_1521.py 100.00% <ø> (ø)
...go_fsm_log/migrations/0003_statelog_description.py 100.00% <ø> (ø)
tests/admin.py 100.00% <ø> (ø)
django_fsm_log/__init__.py 66.66% <66.66%> (-33.34%) :arrow_down:
tests/urls.py 50.00% <66.66%> (ø)
django_fsm_log/backends.py 75.80% <80.00%> (ø)
django_fsm_log/admin.py 100.00% <100.00%> (ø)
django_fsm_log/apps.py 100.00% <100.00%> (ø)
django_fsm_log/conf.py 100.00% <100.00%> (ø)
... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ecfb7d0...ebe5302. Read the comment docs.