Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 1 addition & 37 deletions .landscape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,50 +10,14 @@ max-line-length: 79
# Use some standard linting tools.
pep8:
full: true
disable:
# PEP8 says we shouldn't have any global variables before imports.
# Generally, this sounds like a good idea. However, it is nice to
# have our `__author__` and `__date__` lines near our module or
# package docstring, which technically are global variables.
# Hence, we ignore PEP8 here. To quote PEP8, "Consistency with
# this style guide is important. Consistency within a project is
# more important. Consistency within one module or function is
# most important."
- E402
# Check docstring coverage and style.
pep257:
run: true
disable:
# Ignore constraint disallowing newlines to follow docstrings.
# We find having a newline there makes it easier to read on a
# quick pass.
- D202
# Ignore constraint about having a newline between class
# definition and docstrings.
- D203
# PEP257 expects the documentation to be indented the same as
# the code. We have preferred to indent it one time further as it
# makes it easier on the eye to note documentation from code on
# a quick pass. So, we suppress this constraint.
- D208
# Ignore suggestion about handling backslashes in docstrings.
- D301
pyflakes:
run: true
pylint:
run: true
disable:
# Skip complaint about invalid name. More often than not the names
# are clear and if anything follow this guideline; so, it is ignored.
- C0103
# Ignore complaint about superfluous parentheses after keywords.
- C0325
# Skip complaint about using start args as they have a very clear
# and frequent use in our codebase when forwarding arguments to
# nested callables.
- W0142
# Skip complaint about using backslash literals in multiline strings.
- W1401
rcfile: pylintrc
# Analyze our `setup.py`.
pyroma:
run: true
Expand Down
Loading