Commit Graph

10 Commits (0bfe652620f762688d3a5983802eb38d698d41b8)

Author SHA1 Message Date
Alex Chan d0c52ce1df Finish PEP 257 cleanup and enable linting in CI (#2839)
* Fix a few remaining PEP 257 violations

* Enable PEP 257 linting in CI
2017-05-12 08:18:28 -07:00
Anthony Johnson 862d8a2c76
Add stricter linting to prospector as second pass 2017-03-21 11:39:00 -07:00
Fatema Boxwala d4762d9d0f pep257ifys core and api (#2245) 2016-06-02 16:40:45 -07:00
Eric Holscher 1725beda60 Merge branch 'master' into simple-project-state-tracking 2016-03-10 10:01:39 -08:00
Anthony Johnson cb5461939e Fix rando pyflakes errors 2016-03-01 14:13:58 -08:00
Eric Holscher f316f5cc08 Fix lint 2016-03-01 13:53:47 -08:00
Anthony Johnson 3fcf523598 Lint project code
This lints project code to medium strictness and conforms to pep257. This uses
some additional options to reduce false errors, which I'll add in a separate PR.
This should pass our normal linting without a problem, except the minor change
to unused variable name regex.

This adds `__` to the default list of `_` and `dummy*` for unused arguments. I
prefer the default of `_`, but that overlaps with the translation helper `_()`.
I'd be happy to rethink a scheme here.
2015-08-21 17:30:56 -07:00
Eric Holscher 43a4baa4aa Clean up linting errors 2015-08-05 11:32:23 -07:00
Gregor Müllegger c08eac7873 Disable pylint check for logging-format-interpolation
Otherwise pylint will raise a warning if this is used:

    logger.debug('Logging value: {value}'.format(value=123))

And recommends using:

    logger.debug('Logging value: %(value)s', value=123)
2015-07-31 17:30:11 +02:00
Anthony Johnson 18f68dee96 Add test of tox running test and lint commands, update travis 2015-07-21 19:41:37 -07:00