Skip to content

Commit

Permalink
lint config (#146)
Browse files Browse the repository at this point in the history
* make the isort explicite check result ignored, as that is also in the flake8 check via flake8-isort, so we always got the full problem list. 
* fix one linting issue in setup.py
* fix a missing quote in appveyor config
  • Loading branch information
loechel committed Nov 7, 2018
1 parent 90a5211 commit 1e28717
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@ matrix:
environment:
matrix:
- PROFILE: py27-conventions
PYTHON_VERSION: 2.7"
PYTHON_VERSION: "2.7"
TOXENV: "lint,docs"
- PROFILE: py35-conventions
PYTHON_VERSION: 3.6"
PYTHON_VERSION: "3.6"
TOXENV: "lint,docs"
- PROFILE: py36-conventions
PYTHON_VERSION: 3.6"
PYTHON_VERSION: "3.6"
TOXENV: "lint,docs"
- PROFILE: py37-conventions
PYTHON_VERSION: 3.6"
PYTHON_VERSION: "3.6"
TOXENV: "lint,docs"
- PROFILE: py27
PYTHON_VERSION: 2.7"
PYTHON_VERSION: "2.7"
TOXENV: "py27,py27-datetime"
- PROFILE: py35
PYTHON_VERSION: 3.5"
PYTHON_VERSION: "3.5"
TOXENV: "py35,py35-datetime"
- PROFILE: py36
PYTHON_VERSION: 3.6"
PYTHON_VERSION: "3.6"
TOXENV: "py36,py36-datetime"
- PROFILE: py37
PYTHON_VERSION: 3.7"
PYTHON_VERSION: "3.7"
TOXENV: "py37,py37-datetime"
- PROFILE: py38
PYTHON_VERSION: 3.8"
PYTHON_VERSION: "3.8"
TOXENV: "py38,py38-datetime"


Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def read(*rnames):
'allows to provide a program input into a trusted environment.'
),
long_description=(
read('README.rst') + '\n' +
read('docs', 'CHANGES.rst')
read('README.rst') + '\n'
+ read('docs', 'CHANGES.rst')
),
classifiers=[
'License :: OSI Approved :: Zope Public License',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ deps =

commands =
mkdir -p {toxinidir}/_build/flake8
isort --check-only --recursive {toxinidir}/src {toxinidir}/tests setup.py
- isort --check-only --recursive {toxinidir}/src {toxinidir}/tests setup.py
- flake8 --format=html --htmldir={toxinidir}/_build/flake8 --doctests src tests setup.py
flake8 src tests setup.py --doctests

Expand Down

0 comments on commit 1e28717

Please sign in to comment.