Skip to content

Commit

Permalink
Merge pull request #124 from nblock/next
Browse files Browse the repository at this point in the history
Misc improvements
  • Loading branch information
nblock committed Jul 4, 2018
2 parents f032b19 + 4361594 commit 6ecc9db
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 15 deletions.
1 change: 1 addition & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ include_trailing_comma = True
force_grid_wrap = 0
line_length = 88
not_skip = __init__.py
skip_glob = */.tox/*
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ python:
- "3.6"

install:
- pip install -r requirements/development.txt
- pip install flake8

script:
- flake8 .
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
# html_static_path = ["_static"]

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down
4 changes: 2 additions & 2 deletions docs/spiders/orf.at.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Add ``orf.at`` to the list of spiders:
spiders =
orf.at
orf.at supports different channels via the ``channels`` parameter (one per line). If no
channel is given, ``news`` is used.
orf.at supports different channels via the ``channels`` parameter (one per
line). If no channel is given, ``news`` is used.

.. code-block:: ini
Expand Down
1 change: 0 additions & 1 deletion requirements/development.txt

This file was deleted.

6 changes: 0 additions & 6 deletions requirements/production.txt

This file was deleted.

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"lxml>=3.5.0",
],
extras_require={
"doc": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"],
"test": ["flake8", "black", "isort"],
"docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"],
"style": ["black", "flake8", "isort"],
},
entry_points="""
[console_scripts]
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
envlist = py34,py35,py36

[testenv:style]
extras = test
# Black requires Python 3.6+
basepython = python3.6
extras = style
commands =
flake8 feeds
black --check feeds
isort --check-only -rc feeds

[testenv:docs]
extras = doc
extras = docs
commands =
rst-lint README.rst
doc8 docs/
Expand Down

0 comments on commit 6ecc9db

Please sign in to comment.