Skip to content

Commit

Permalink
Merge pull request #170 from scrapinghub/fix-readme
Browse files Browse the repository at this point in the history
Fix README, make sure it renders
  • Loading branch information
lopuhin committed Dec 28, 2020
2 parents e9f9953 + 4893e5a commit 0580369
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ extract the metadata from it directly from the command line.
Dependencies
++++++++++++

The command line tool depends on requests_, which is not installed by default
The command line tool depends on ``requests``, which is not installed by default
when you install **extruct**. In order to use the command line tool, you can
install **extruct** with the `cli` extra requirements::

Expand Down Expand Up @@ -735,3 +735,4 @@ Use tox_ to run tests with different Python versions::


.. _tox: https://testrun.org/tox/latest/
.. _ogp: https://ogp.me/
8 changes: 5 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@

-r requirements.txt

pytest
tox
flake8

bumpversion

pytest
pytest-cov
readme_renderer
mock
14 changes: 9 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[tox]
envlist = py27, py35, py36, py37, py38, py39


[testenv]
deps =
-rrequirements.txt
pytest
pytest-cov
mock
-rrequirements-dev.txt
commands =
py.test --cov-report=term --cov-report= --cov=extruct {posargs:extruct tests}


commands = py.test --cov-report=term --cov-report= --cov=extruct {posargs:extruct tests}
[testenv:py38]
commands =
py.test --cov-report=term --cov-report= --cov=extruct {posargs:extruct tests}
python -m readme_renderer README.rst -o /tmp/README.html

0 comments on commit 0580369

Please sign in to comment.