Recent posts

Recommended pre-commit checks for Python

less than 1 minute read

For my projects I use this pre-commit template. In the past I’ve also integrated pylint and mypy, but these make committing slow for big projects so I’ve kep...

Static code analysis tools for Python and CI

1 minute read

Python has some great free and open-source static code analysis tools. I recommend integrating them into you Continuous Integration (CI) pipelines so they ru...

Writing SELinux rules for RPM

1 minute read

When I needed to write a SELinux policy for a web application running on httpd for CentOS 7, I was surprised by the lack of documentation. Despite SELinux be...