Skip to content

Commit

Permalink
Merge pull request #21 from PennyDreadfulMTG/update-pypi
Browse files Browse the repository at this point in the history
Update a few small things before making a release for pypi
  • Loading branch information
bakert authored Aug 13, 2023
2 parents 748b359 + 10287b1 commit 5f8f01a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ dist
MANIFEST
coverage.xml
.coverage
.idea
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ repos:
- --remove-duplicate-keys
- --remove-unused-variables

- repo: https://gitlab.com/pycqa/flake8
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ it parses the json files. To install PyYAML::

Once the submodule is available, you can run the full test set with::

$ tox -e setup ext/spec/specs
$ tox -e setup -- ext/spec/specs


Making Changes & Contributing
Expand Down
2 changes: 0 additions & 2 deletions TODO.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ In development branch:
* Figure out a way to suppress center alignment of images in reST output.
* Add a unit test for the change made in 7ea8e7180c41. This is with regard
to not requiring spec tests when running tests from a downloaded sdist.
* End support for Python 2.7 (done as of 03/03/21 - SA)
* Release 0.6.0 on github, make a pypi account (SA)
* Turn the benchmarking script at pystache/tests/benchmark.py into a command
in pystache/commands, or make it a subcommand of one of the existing
commands (i.e. using a command argument).
Expand Down
16 changes: 8 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ deps =
versioningit

[testenv]
passenv = CI PYTHON PYTHONIOENCODING
passenv = CI,PYTHON,PYTHONIOENCODING
allowlist_externals = bash

deps =
Expand All @@ -50,7 +50,7 @@ commands =
pystache-test

[testenv:bench]
passenv = CI PYTHON PYTHONIOENCODING
passenv = CI,PYTHON,PYTHONIOENCODING

deps =
{[base]deps}
Expand All @@ -64,7 +64,7 @@ commands =
python pystache/tests/benchmark.py {posargs}

[testenv:setup]
passenv = CI PYTHON PYTHONIOENCODING
passenv = CI,PYTHON,PYTHONIOENCODING

deps =
{[base]deps}
Expand All @@ -83,7 +83,7 @@ commands =
# pylint pystache/ => 8.27/10
# tox -e lint => 8.06/10

passenv = CI PYTHON PYTHONIOENCODING
passenv = CI,PYTHON,PYTHONIOENCODING

deps =
{[base]deps}
Expand All @@ -97,7 +97,7 @@ commands =
pylint --rcfile={toxinidir}/.pylintrc --fail-under=8.10 pystache/

[testenv:style]
passenv = CI PYTHON PYTHONIOENCODING
passenv = CI,PYTHON,PYTHONIOENCODING

deps =
{[base]deps}
Expand All @@ -107,7 +107,7 @@ commands =
flake8 pystache/

[testenv:deploy]
passenv = CI PYTHON PYTHONIOENCODING
passenv = CI,PYTHON,PYTHONIOENCODING

deps =
{[base]deps}
Expand All @@ -119,7 +119,7 @@ commands =
twine check dist/*

[testenv:check]
passenv = CI PYTHON PYTHONIOENCODING
passenv = CI,PYTHON,PYTHONIOENCODING
skip_install = true

allowlist_externals = bash
Expand Down Expand Up @@ -162,7 +162,7 @@ commands_pre =
commands = make -C docs linkcheck

[testenv:sec]
passenv = CI PYTHON PYTHONIOENCODING
passenv = CI,PYTHON,PYTHONIOENCODING
skip_install = true

deps =
Expand Down

0 comments on commit 5f8f01a

Please sign in to comment.