Questions tagged [landscape.io]

Landscape.io is a service addon for GitHub to do Python style checks based on PEP8, PyLint, McCabe, Flake8, ...

Landscape.io is a service addon for GitHub to do Python style checks based on PEP8, PyLint, McCabe, Flake8, ...

The applied rules and their strictness can be configured through a landscape.yml file. Through GitHubs addon architecture, each commit or merge cause a Landscape.io check and report via email. The score increase/decrease is visualized for the last 14 days.

3 questions
8
votes
0 answers

How can I disable the McCabe test MC0001 in Landscape.io?

Landscape.io offers nice and good Python code tests and based on PEP 8, Pylint, McCabe, etc. Some of my parser methods contain big switch blocks, so I would like to disable the McCabe test MC0001 for selected methods. How can I do this? I found this…
Paebbels
  • 15,573
  • 13
  • 70
  • 139
5
votes
0 answers

Are there any tools like landscape.io which work with Mercurial/BitBucket?

I want to use a tool like landscape.io to keep track of technical debt that people might be accidentally introducing into an open-source project. Unfortunately that tool only seems to work with GitHub. Is there a similar tool that offers static code…
Salim Fadhley
  • 6,975
  • 14
  • 46
  • 83
0
votes
0 answers

Python tuple decomposition with unused elements

I have a for-loop with with a tuple decomposition expression. maybe it's known as tuple unpacking. Example code: for funcname,func in self.GetMethods: # do somthing with func # funcname is unused My code checking tool (I'm testing Landscape.io)…
Paebbels
  • 15,573
  • 13
  • 70
  • 139