Skip to content

Commit ac406a1

Browse files
Ken KundertKen Kundert
Ken Kundert
authored and
Ken Kundert
committed
pre-release refinements
1 parent a1446ff commit ac406a1

File tree

4 files changed

+18
-21
lines changed

4 files changed

+18
-21
lines changed

conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Add missing dependency command line options to pytest command.
22

33
import os
4-
import re
54
import pytest
65
from inform import Error, Info as CmdLineOpts
76
from shlib import Run, set_prefs

doc/releases.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ Latest development release
66
| Version: 1.39.1
77
| Released: 2024-05-27
88
9+
10+
1.40 (2024-08-05)
11+
-----------------
912
- Enhance :ref:`emborg-overdue <emborg-overdue>` command.
13+
- Fix bug in :ref:`restore <restore>` when there are multiple roots.
1014

1115

1216
1.39 (2024-04-29)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ classifiers = [
2020
requires-python = ">=3.6"
2121
dependencies = [
2222
"appdirs",
23-
"arrow>=0.15",
23+
"arrow",
2424
# "avendesora", # optional
2525
"docopt",
26-
"inform>=1.30",
26+
"inform>=1.31",
2727
"nestedtext",
2828
"quantiphy",
2929
"requests",

tox.ini

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,29 @@
11
[tox]
2-
envlist = lint, pytest, mypy
2+
envlist = test, types, lint
33
isolated_build = True
44

5-
[testenv:lint]
5+
[testenv:test]
66
deps =
77
setuptools
8-
ruff
9-
commands = ruff check
10-
11-
# Test environment
12-
[testenv]
13-
deps =
148
nestedtext
159
pytest
1610
pytest-cov
1711
parametrize-from-file
1812
shlib
1913
voluptuous
20-
21-
[testenv:pytest]
2214
commands = py.test -vv --cov {posargs} --cov-branch --cov-report term
2315

24-
[testenv:mypy]
25-
description = Run mypy
16+
[testenv:types]
2617
deps =
18+
setuptools
2719
mypy
2820
quantiphy
29-
{[testenv]deps}
3021
commands =
31-
mypy \
32-
--install-types \
33-
--non-interactive \
34-
--disable-error-code import \
35-
{toxinidir}/emborg
22+
mypy --install-types --non-interactive --disable-error-code import {toxinidir}/emborg
23+
24+
[testenv:lint]
25+
deps =
26+
setuptools
27+
ruff
28+
commands = ruff check
29+

0 commit comments

Comments
 (0)