intel / ccc-linux-guest-hardening

Linux Security Hardening for Confidential Compute
https://intel.github.io/ccc-linux-guest-hardening-docs
MIT License
64 stars 13 forks source link

ci: add basic static analysis for python with flake8 #56

Closed Wenzel closed 1 year ago

Wenzel commented 1 year ago

This PR adds some static analysis for Python code in the ccc repo with flake8.

Given the amount of lint errors, i only selected 3 of them for now:

      # select:
      #   F841 local variable 'xxx' is assigned to but never used
      #   F541 f-string is missing placeholders
      #   F401 'xxx' imported but unused

The rest can be enabled later on, warning by warning