Skip to content

Commit

Permalink
Updated to use poetry, ruff, mypy (1.1.0) and removed Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTimperley committed May 20, 2024
1 parent 2fe6450 commit 9727444
Show file tree
Hide file tree
Showing 19 changed files with 1,024 additions and 1,540 deletions.
34 changes: 0 additions & 34 deletions .travis.yml

This file was deleted.

4 changes: 3 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
v0.5.8 (XXXX-XX-XX)
v0.6.0 (2024-05-20)
-------------------

* switched from Pipenv to Poetry
* updated linting config to use Ruff and MyPy 1.1.0
* fixed a bug that prevented `time_limit` and `kill_after` from being used by subprocess.check_output


Expand Down
24 changes: 8 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
.PHONY: docs check init test tox
.PHONY: check install test lint

# installs pipenv and builds the project
init:
sudo pip install pipenv --upgrade
pipenv install -r requirements.dev.txt
pipenv install --dev
lint:
poetry run ruff check src
poetry run mypy src

# builds the documentation
docs:
pipenv run python setup.py docs

# runs the unit test suite
test:
pipenv run pytest
poetry run pytest

tox:
pipenv run tox
install:
poetry install

# runs a series of checks on the project via tox
check: tox
check: lint test
24 changes: 0 additions & 24 deletions Pipfile

This file was deleted.

Loading

0 comments on commit 9727444

Please sign in to comment.