Skip to content

Commit

Permalink
Merge pull request #32 from dirn/lint-everything
Browse files Browse the repository at this point in the history
Lint all Python files
  • Loading branch information
dirn committed Dec 3, 2020
2 parents 373f035 + d2286fb commit 49543bf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
12 changes: 6 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os
import shlex
import sys

import pkg_resources

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down Expand Up @@ -217,13 +217,13 @@

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#'preamble': '',
# 'preamble': '',
# Latex figure (float) alignment
#'figure_align': 'htbp',
# 'figure_align': 'htbp',
}

# Grouping the document tree into LaTeX files. List of tuples
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[flake8]
ignore = D105, D202, D413, E203, E501
per-file-ignores =
docs/conf.py: D100
docs/file_consumer.py: D100,D107,D403
setup.py: D100,D101,D102,D103,N812

[isort]
atomic = true
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import sys

from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
import sys


class PyTest(TestCommand):
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ deps =
black==20.8b1
isort==5.6.4
commands =
isort --recursive doozer tests
isort --recursive .
black .

[testenv:lint]
Expand All @@ -37,7 +37,7 @@ deps =
typing-extensions
commands =
black --check .
flake8 doozer tests
flake8 .

[testenv:manifest]
deps =
Expand Down

0 comments on commit 49543bf

Please sign in to comment.