Skip to content

Commit

Permalink
Update pylint statements
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Feb 26, 2019
1 parent d4b8c5b commit fe58db1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -25,5 +25,5 @@ build: off

test_script:
- "pytest"
- "flake8 --ignore=E501,E121,E122,E123,E126,E127,E128 tests"
- "flake8 --ignore=E501,E121,E122,E123,E126,E127,E128 tests --exclude=*/basemaps/*,*/ms-ogc-workshop/*"
- "flake8 mappyfile --max-line-length=120"
2 changes: 1 addition & 1 deletion docs/development.rst
Expand Up @@ -71,7 +71,7 @@ Linting

.. code-block:: bat
flake8 --ignore=E501,E121,E122,E123,E126,E127,E128 tests
flake8 --ignore=E501,E121,E122,E123,E126,E127,E128 tests --exclude=*/basemaps/*,*/ms-ogc-workshop/*
flake8 mappyfile --max-line-length=120
Or to export to file:
Expand Down
5 changes: 3 additions & 2 deletions mappyfile.pyproj
Expand Up @@ -11,7 +11,7 @@
<Name>mappyfile</Name>
<RootNamespace>mappyfile</RootNamespace>
<InterpreterId>MSBuild|mappyfile|$(MSBuildProjectFullPath)</InterpreterId>
<StartupFile>tests\test_pprint.py</StartupFile>
<StartupFile>tests\test_comments.py</StartupFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -59,6 +59,7 @@
</ItemGroup>
<ItemGroup>
<Content Include=".gitignore" />
<Content Include=".gitmodules" />
<Content Include=".pypirc" />
<Content Include=".readthedocs.yml" />
<Content Include=".travis.yml" />
Expand Down Expand Up @@ -112,7 +113,7 @@
<Content Include="docs\make.bat" />
<Content Include="docs\Makefile" />
<Content Include="docs\parser.rst" />
<Content Include="docs\performance.rst" />
<Content Include="docs\performance.txt" />
<Content Include="docs\pretty_printing.rst" />
<Content Include="docs\sample_dict.json">
<SubType>Code</SubType>
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -9,4 +9,4 @@ deps=-rrequirements-dev.txt
commands=
py.test --ignore=tests/mapfiles --cov mappyfile --cov-report term-missing docs/examples/api/ misc/ tests/
flake8 mappyfile --max-line-length=120
flake8 --ignore=E501,E121,E122,E123,E126,E127,E128 --exclude=tests/mapfiles tests
flake8 --ignore=E501,E121,E122,E123,E126,E127,E128 tests --exclude=*/basemaps/*,*/ms-ogc-workshop/*

0 comments on commit fe58db1

Please sign in to comment.