Skip to content

Commit

Permalink
➖ DEP: Remove tox Dependency (#561)
Browse files Browse the repository at this point in the history
- Remove tox which is not required on GitHub Actions

Co-authored-by: John Pocock <[email protected]>
  • Loading branch information
shaneahmed and John-P authored Mar 10, 2023
1 parent a2930e9 commit 54b9e22
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 57 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
Expand Down
5 changes: 2 additions & 3 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,12 @@ Ready to contribute? Here's how to set up ``tiatoolbox`` for local development.
Now you can make your changes locally.

5. When you're done making changes, check that your changes pass flake8 and the
tests, including testing other Python versions with tox::
tests::

$ flake8 tiatoolbox tests
$ python setup.py test or pytest
$ tox

To get flake8 and tox, just pip install them into your virtualenv.
To get flake8, just pip install them into your virtualenv.

6. Commit your changes and push your branch to GitHub::

Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ clean-pyc: ## remove Python file artifacts
find . -name '__pycache__' -exec rm -fr {} +

clean-test: ## remove test and coverage artifacts
rm -fr .tox/
rm -f .coverage
rm -fr htmlcov/
rm -fr .pytest_cache
Expand All @@ -62,9 +61,6 @@ lint: ## check style with flake8
test: ## run tests quickly with the default Python
pytest

test-all: ## run tests on every Python version with tox
tox

coverage: ## check code coverage quickly with the default Python
pytest --cov=tiatoolbox --cov-report=term --cov-report=html --cov-report=xml
$(BROWSER) htmlcov/index.html
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
Expand Down
1 change: 0 additions & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ pytest>=7.2.0
pytest-cov>=4.0.0
pytest-runner>=6.0
toml>=0.10.2
tox>=3.27.1
twine>=4.0.1
wheel>=0.37.1
47 changes: 0 additions & 47 deletions tox.ini

This file was deleted.

0 comments on commit 54b9e22

Please sign in to comment.