setup.py
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell Wontfix
Wontfix
r = os.system('py.test test -v --cov=cif --cov-fail-under=50 --pep8')
- Exclude checks
Starting a process with a partial executable path Wontfix
Wontfix
r = os.system('py.test test -v --cov=cif --cov-fail-under=50 --pep8')
- Exclude checks
Merge this if statement with the enclosing one. Open
Open
if not ENABLE_INSTALL:
- Read upRead up
- Exclude checks
Merging collapsible if
statements increases the code's readability.
Noncompliant Code Example
if condition1: if condition2: # ...
Compliant Solution
if condition1 and condition2: # ...