Open ax3l opened 6 years ago
For Python scripts, PIConGPU currently enforces:
Both support for Python 2.7+ and Python 3
pip install -U flake8 flake8 .
in both Python 2 & Python 3 variants of the flake8 script. (Note: Recognizes only python scripts ending on *.py, unfortunately.)
*.py
propose: numpy style tool: ...?
pip install -U pyflakes pyflakes .
in both Python 2 & Python 3 variants of the flake8 script. (Note: Recognizes all python scripts.)
I would also be personally be a big fan of dropping Python 2 support altogether. Anyone against this?
For Python scripts, PIConGPU currently enforces:
Versions
Both support for Python 2.7+ and Python 3
Style (PEP8 conformance)
in both Python 2 & Python 3 variants of the flake8 script. (Note: Recognizes only python scripts ending on
*.py
, unfortunately.)Style (Comments)
propose: numpy style tool: ...?
Static Code Analysis (Warnings, unused code, etc.)
in both Python 2 & Python 3 variants of the flake8 script. (Note: Recognizes all python scripts.)