Skip to content

Commit

Permalink
pre-release refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Aug 5, 2024
1 parent a1446ff commit ac406a1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 21 deletions.
1 change: 0 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Add missing dependency command line options to pytest command.

import os
import re
import pytest
from inform import Error, Info as CmdLineOpts
from shlib import Run, set_prefs
Expand Down
4 changes: 4 additions & 0 deletions doc/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ Latest development release
| Version: 1.39.1
| Released: 2024-05-27

1.40 (2024-08-05)
-----------------
- Enhance :ref:`emborg-overdue <emborg-overdue>` command.
- Fix bug in :ref:`restore <restore>` when there are multiple roots.


1.39 (2024-04-29)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ classifiers = [
requires-python = ">=3.6"
dependencies = [
"appdirs",
"arrow>=0.15",
"arrow",
# "avendesora", # optional
"docopt",
"inform>=1.30",
"inform>=1.31",
"nestedtext",
"quantiphy",
"requests",
Expand Down
30 changes: 12 additions & 18 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,35 +1,29 @@
[tox]
envlist = lint, pytest, mypy
envlist = test, types, lint
isolated_build = True

[testenv:lint]
[testenv:test]
deps =
setuptools
ruff
commands = ruff check

# Test environment
[testenv]
deps =
nestedtext
pytest
pytest-cov
parametrize-from-file
shlib
voluptuous

[testenv:pytest]
commands = py.test -vv --cov {posargs} --cov-branch --cov-report term

[testenv:mypy]
description = Run mypy
[testenv:types]
deps =
setuptools
mypy
quantiphy
{[testenv]deps}
commands =
mypy \
--install-types \
--non-interactive \
--disable-error-code import \
{toxinidir}/emborg
mypy --install-types --non-interactive --disable-error-code import {toxinidir}/emborg

[testenv:lint]
deps =
setuptools
ruff
commands = ruff check

0 comments on commit ac406a1

Please sign in to comment.