File tree 4 files changed +18
-21
lines changed 4 files changed +18
-21
lines changed Original file line number Diff line number Diff line change 1
1
# Add missing dependency command line options to pytest command.
2
2
3
3
import os
4
- import re
5
4
import pytest
6
5
from inform import Error , Info as CmdLineOpts
7
6
from shlib import Run , set_prefs
Original file line number Diff line number Diff line change @@ -6,7 +6,11 @@ Latest development release
6
6
| Version: 1.39.1
7
7
| Released: 2024-05-27
8
8
9
+
10
+ 1.40 (2024-08-05)
11
+ -----------------
9
12
- Enhance :ref: `emborg-overdue <emborg-overdue >` command.
13
+ - Fix bug in :ref: `restore <restore >` when there are multiple roots.
10
14
11
15
12
16
1.39 (2024-04-29)
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ classifiers = [
20
20
requires-python = " >=3.6"
21
21
dependencies = [
22
22
" appdirs" ,
23
- " arrow>=0.15 " ,
23
+ " arrow" ,
24
24
# "avendesora", # optional
25
25
" docopt" ,
26
- " inform>=1.30 " ,
26
+ " inform>=1.31 " ,
27
27
" nestedtext" ,
28
28
" quantiphy" ,
29
29
" requests" ,
Original file line number Diff line number Diff line change 1
1
[tox]
2
- envlist = lint, pytest, mypy
2
+ envlist = test, types, lint
3
3
isolated_build = True
4
4
5
- [testenv:lint ]
5
+ [testenv:test ]
6
6
deps =
7
7
setuptools
8
- ruff
9
- commands = ruff check
10
-
11
- # Test environment
12
- [testenv]
13
- deps =
14
8
nestedtext
15
9
pytest
16
10
pytest-cov
17
11
parametrize-from-file
18
12
shlib
19
13
voluptuous
20
-
21
- [testenv:pytest]
22
14
commands = py.test -vv --cov {posargs} --cov-branch --cov-report term
23
15
24
- [testenv:mypy]
25
- description = Run mypy
16
+ [testenv:types]
26
17
deps =
18
+ setuptools
27
19
mypy
28
20
quantiphy
29
- {[testenv]deps}
30
21
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
+
You can’t perform that action at this time.
0 commit comments