ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
12 stars 5 forks source link

Python code reformat and add CI check #871

Closed dorschs57 closed 1 year ago

dorschs57 commented 1 year ago

I turned on black formatting with the --check option in the CI process and added the module flake8-black. Linting will now report out black formatting changes too. I also formatted the python code with black and committed the changes. I get the same results from the tests before and after the changes, and a quick 👀 check looks good.

Side note you can run linting and formatting locally with pipenv run lint and pipenv run format. This part was always there.

closes #798

jw3 commented 1 year ago

Nice :+1: