mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-09 22:36:01 +05:45
* Rewrite lint.sh as check_lint.py
This makes several beneficial changes:
* Runs in parallel: lint all now takes 5.5 seconds, down from 25.
* Supports linting specific files, passed on the command-line.
* Defaults to linting files changed since master, pass --all to lint
everything.
* Infers header language based on related files.
* Lays the groundwork for linting more than just C++.
* Adds support for linting python.
* Fix lint errors
* Use check_lint.py in check.sh
* Remove lint.sh
* Python lint configuration
* Enable python linting in travis
23 lines
586 B
INI
23 lines
586 B
INI
[pycodestyle]
|
|
# Several checks are disabled because they're incompatible with Google python
|
|
# style.
|
|
#
|
|
# See https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes for
|
|
# more details.
|
|
ignore =
|
|
# Google python style indents by two, not four. This trips a number of
|
|
# rules:
|
|
E111,E114,E129,
|
|
|
|
# W504 enforces that line breaks are after binary operators.
|
|
# W503 enforces the opposite. Disable it.
|
|
W503
|
|
|
|
max-line-length=80
|
|
|
|
[flake8]
|
|
# Same list as above
|
|
ignore = E111,E114,E129,W503
|
|
max-line-length=80
|
|
exclude = .git,.idea,__pycache__,scripts/cpplint.py
|