Fabian Neundorf
777e7e3854
Force flake8 test to below 3.x
...
Because flake8-import-order does not support Flake8 3.x yet, we need to force
a Flake8 version that is supported.
2016-07-25 13:53:10 +02:00
Ian Cordasco
58e67634cd
Add build testenv for future CI work
2016-07-10 09:31:43 -05:00
Ian Cordasco
2dec2ebc6e
Set default python for flake8 testenv
2016-07-10 09:29:57 -05:00
Ian Cordasco
41cd67f747
Simplify our test environments
2016-06-30 20:09:46 -05:00
Ian Cordasco
6208a4969b
Add README to linters
...
Add basepythons to dogfood and readme
2016-06-29 19:17:20 -05:00
Ian Cordasco
497f52e4b1
Add a dogfood testenv
2016-06-28 13:21:58 -05:00
Ian Cordasco
b194717d1a
Search current directory if no paths are specified
...
This fixes a regression in behaviour from 2.x to 3.
Closes #150
2016-06-26 15:08:58 -05:00
Ian Cordasco
6bca1c30cc
Fix linters to use src/flake8
2016-06-25 16:07:28 -05:00
Ian Cordasco
b5d13260eb
Enable GitLab CI
2016-06-25 15:28:31 -05:00
Ian Cordasco
5d1150cc27
Update the packaging so wheels work
2016-06-25 11:20:28 -05:00
Ian Cordasco
1a2c68f5da
Move flake8 into src
...
This is an emerging best practice and there is little reason to not
follow it
2016-06-25 10:12:13 -05:00
Ian Cordasco
8bc76f79de
Configure flake8-import-order to use Google Style
...
This relies on two things:
1. Properly configuring flake8-import-order to use that style
2. Properly configuring flake8-import-order to know that flake8 is our
application name.
2016-06-17 10:26:36 -05:00
Ian Cordasco
eff77e2bc2
Set a lower-limit on flake8-docstrings
...
flake8-docstrings is broken on 0.2.6 with flake8 2.6.0, 0.2.7 was
released today which fixes the problem. Let's avoid that version if at
all possible.
2016-06-16 06:35:51 -05:00
Ian Cordasco
dc8fc0058d
Configure bandit to ignore subprocess warnings
2016-06-14 07:58:13 -05:00
Ian Cordasco
2e5c646d74
Exclude our fixtures from Flake8
2016-06-07 19:08:54 -05:00
Ian Cordasco
0a418f8d1e
Refactor docs requirements into file for RTD
2016-06-04 14:26:37 -05:00
Ian Cordasco
699d116fb0
Use correct basepython for docs testenvs
2016-06-04 13:53:02 -05:00
Ian Cordasco
f54c0874f8
Handle sdist installation without tox
2016-05-30 16:00:45 -05:00
Ian Cordasco
df0a799c94
Add configparser to pypy testenv
2016-05-30 12:58:15 -05:00
Ian Cordasco
33f982b446
Rely on Python 3.4 backport of configparser
...
Python 2.7's ConfigParser module does not allow for the behaviour we
have documented for config files in Flake8 3.0. To compensate for that,
we add a dependency on the configparser backport on PyPI for Python 2.7
2016-05-30 12:51:31 -05:00
Ian Cordasco
a7898e0389
Begin adding user-facing documentation
...
Especially around invocation and configuration
2016-05-26 13:21:25 -05:00
Ian Cordasco
c8ad626525
Trim unsupported environments
2016-05-10 17:09:44 -05:00
Ian Cordasco
c8a0b6f05e
Add bandit for security linting
2016-05-08 14:04:46 -05:00
Ian Cordasco
414922d08e
Add documentation around the cli
2016-05-08 14:02:40 -05:00
Ian Cordasco
e2b8fbd3a7
Exclude more directories
2016-03-17 15:10:57 -05:00
Ian Cordasco
62a78f4a97
Add note to tox.ini for others
2016-02-25 14:43:52 -06:00
Ian Cordasco
8d36355611
Re-order project imports based on flake8-import-order
2016-02-25 11:14:41 -06:00
Ian Cordasco
51d15295df
Set the maximum complexity for mccabe
2016-02-23 17:08:54 -06:00
Ian Cordasco
08fd403e34
Add doc8 to linters
2016-02-23 14:42:50 -06:00
Ian Cordasco
54ad972e56
Add doc8 linting
2016-02-23 14:42:09 -06:00
Ian Cordasco
7addb72615
Add unified linters testenv
2016-02-22 21:59:59 -06:00
Ian Cordasco
1312e4e0ef
Add mypy env
...
There are still kinks to be worked out but this works reasonably well.
This will fail until we can figure out how to import things from the
typing module for the type: comments only. We do not want to add a
dependency on that backport only for this mypy env.
2016-02-21 13:09:44 -06:00
Ian Cordasco
85c199ea34
Add pylint config and testenv
2016-02-19 15:10:17 -06:00
Ian Cordasco
f824cbae93
Update docs index and tox env
2016-02-07 19:54:12 -06:00
Ian Cordasco
11be73dbbb
Note that we need at least Sphinx 1.3
...
Exclude sphinx conf.py from flake8
2016-01-19 07:27:39 -06:00
Ian Cordasco
e66fc2efa8
Start creating documentation
2016-01-19 07:19:16 -06:00
Ian Cordasco
ba56c34494
Add venv testenv for testing the new version of flake8
2016-01-16 07:05:12 -06:00
Ian Cordasco
629f796fc1
Add flake8 linting as a testenv
2016-01-10 14:53:26 -06:00
Ian Cordasco
8c872c4bb9
Add more docstrings and fix lint errors
2016-01-10 14:47:06 -06:00
Ian Cordasco
5903576732
Ignore only D203 and fix Flake8 errors
2016-01-10 14:36:52 -06:00
Ian Cordasco
fdff0f705e
Allow users to pass args to py.test via tox
2016-01-10 09:05:21 -06:00
Ian Cordasco
3a8f99b458
Add mock to list of test dependencies
2016-01-09 12:56:03 -06:00
Ian Cordasco
7b2a1c157b
Bare bones of a notification system
2015-12-28 23:32:42 -06:00