meson/mesonbuild/compilers
Jon Turney b387ab1ee1 Fix flake8 issues (#3834)
* Fix flake8 whitespace reports

$ flake8 | grep -E '(E203|E221|E226|E303|W291|W293)'
./mesonbuild/coredata.py:337:5: E303 too many blank lines (2)

* Fix flake8 'variable assigned value but unused' reports

$ flake8 | grep -E F841
./mesonbuild/modules/gnome.py:922:9: F841 local variable 'target_name' is assigned to but never used

* Fix flake8 'imported but unused' reports

$ flake8 | grep F401
./mesonbuild/compilers/__init__.py:128:1: F401 '.c.ArmclangCCompiler' imported but unused
./mesonbuild/compilers/__init__.py:138:1: F401 '.cpp.ArmclangCPPCompiler' imported but unused
./mesonbuild/modules/__init__.py:4:1: F401 '..mlog' imported but unused

PR #3717 imports ARMCLANG compilers in __init__, but does not add them to
__all__, so they are not re-exported by the compilers package like
everything else.

* More details about flake8 in Contributing.md

Mention that Sider runs flake8
Suggest seting flake8 as a pre-commit hook
2018-07-05 18:08:04 +00:00
..
__init__.py Fix flake8 issues (#3834) 2018-07-05 18:08:04 +00:00
c.py find_library: Only run link test on system dirs 2018-07-04 10:39:14 +00:00
compilers.py Added ARMCLANG compiler support for C/C++ (#3717) 2018-06-21 00:55:39 +03:00
cpp.py Added ARMCLANG compiler support for C/C++ (#3717) 2018-06-21 00:55:39 +03:00
cs.py macos: Rewrite install_name for dependent built libraries on install 2018-06-18 06:33:23 +00:00
d.py d: Don't fail if -link-defaultlib is manually added to the LDC link args 2018-06-30 00:28:39 +03:00
fortran.py macos: Rewrite install_name for dependent built libraries on install 2018-06-18 06:33:23 +00:00
java.py macos: Rewrite install_name for dependent built libraries on install 2018-06-18 06:33:23 +00:00
objc.py Add 'Compiler.get_display_language' 2017-06-26 14:15:44 -04:00
objcpp.py Add 'Compiler.get_display_language' 2017-06-26 14:15:44 -04:00
rust.py Add cross-compilation support for `rustc` 2018-01-29 15:47:05 -08:00
swift.py
vala.py vala: Don't pass -o and -C at the same time 2018-04-11 21:42:42 +03:00