Skip to content

Commit

Permalink
Template packagename in oldestdeps tox command (#52)
Browse files Browse the repository at this point in the history
* Fix oldestdeps in tox

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
Cadair and pre-commit-ci[bot] authored Feb 13, 2024
1 parent 3790c38 commit 21d3127
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions {{ cookiecutter.package_name }}/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ description =
oldestdeps: with the oldest supported version of key dependencies

# Pass through the following environment variables which may be needed for the CI
pass_env =
pass_env =
HOME
WINDIR
LC_ALL
Expand All @@ -30,7 +30,7 @@ pass_env =
TRAVIS

# Suppress display of matplotlib plots generated during docs build
set_env =
set_env =
MPLBACKEND=agg

# Run the tests in a temporary directory to make sure that we don't import
Expand All @@ -46,7 +46,7 @@ extras =
test

commands_pre =
oldestdeps: minimum_dependencies packagename --filename requirements-min.txt
oldestdeps: minimum_dependencies {{ cookiecutter.module_name }} --filename requirements-min.txt
oldestdeps: pip install -r requirements-min.txt
pip freeze

Expand Down

0 comments on commit 21d3127

Please sign in to comment.