File tree Expand file tree Collapse file tree 6 files changed +23
-10
lines changed Expand file tree Collapse file tree 6 files changed +23
-10
lines changed Original file line number Diff line number Diff line change 4
4
merge_group :
5
5
push :
6
6
branches-ignore :
7
- # disabled for jaraco/skeleton#103
8
- # - gh-readonly-queue/** # Temporary merge queue-related GH-made branches
7
+ # temporary GH branches relating to merge queues (jaraco/skeleton#93)
8
+ - gh-readonly-queue/**
9
+ tags :
10
+ # required if branches-ignore is supplied (jaraco/skeleton#103)
11
+ - ' **'
9
12
pull_request :
10
13
workflow_dispatch :
11
14
39
42
matrix :
40
43
python :
41
44
- " 3.8"
42
- - " 3.11"
43
45
- " 3.12"
44
46
platform :
45
47
- ubuntu-latest
50
52
platform : ubuntu-latest
51
53
- python : " 3.10"
52
54
platform : ubuntu-latest
55
+ - python : " 3.11"
56
+ platform : ubuntu-latest
53
57
- python : pypy3.10
54
58
platform : ubuntu-latest
55
59
distutils : stdlib
Original file line number Diff line number Diff line change 10
10
os : ubuntu-lts-latest
11
11
tools :
12
12
python : latest
13
+ # post-checkout job to ensure the clone isn't shallow jaraco/skeleton#114
14
+ jobs :
15
+ post_checkout :
16
+ - git fetch --unshallow || true
Original file line number Diff line number Diff line change 2
2
norecursedirs =dist build .tox .eggs
3
3
addopts =
4
4
--doctest-modules
5
+ --import-mode importlib
5
6
--doctest-glob =pkg_resources/api_tests.txt
6
7
-r sxX
7
- doctest_optionflags =ALLOW_UNICODE ELLIPSIS
8
+ consider_namespace_packages =true
8
9
filterwarnings =
9
10
# Fail on warnings
10
11
error
@@ -84,3 +85,6 @@ filterwarnings=
84
85
85
86
# Ignore warnings about experimental features
86
87
ignore:..tool\.distutils.. in .pyproject\.toml. is still .experimental.*
88
+
89
+ # Ignore warnings about consider_namespace_packages (jaraco/skeleton@6ff02e0eefcd)
90
+ ignore:Unknown config option. consider_namespace_packages:pytest.PytestConfigWarning
Original file line number Diff line number Diff line change 1
1
[lint ]
2
+ extend-select = [
3
+ " C901" ,
4
+ " W" ,
5
+ ]
2
6
ignore = [
3
7
# https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
4
8
" W191" ,
Original file line number Diff line number Diff line change @@ -42,14 +42,12 @@ exclude =
42
42
[options.extras_require]
43
43
testing =
44
44
# upstream
45
- pytest >= 6
45
+ pytest >= 6, != 8.1.1
46
46
pytest-checkdocs >= 2.4
47
47
pytest-cov; \
48
48
# coverage seems to make PyPy extremely slow
49
49
python_implementation != " PyPy"
50
- pytest-mypy >= 0.9.1; \
51
- # workaround for jaraco/skeleton#22
52
- python_implementation != " PyPy"
50
+ pytest-mypy
53
51
pytest-enabler >= 2.2
54
52
# workaround for pypa/setuptools#3921
55
53
pytest-ruff >= 0.2.1; sys_platform != "cygwin"
@@ -95,8 +93,6 @@ testing-integration =
95
93
docs =
96
94
# upstream
97
95
sphinx >= 3.5
98
- # workaround for sphinx/sphinx-doc#11662
99
- sphinx < 7.2.5
100
96
jaraco.packaging >= 9.3
101
97
rst.linker >= 1.9
102
98
furo
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ commands =
36
36
[testenv:diffcov]
37
37
description = run tests and check that diff from main is covered
38
38
deps =
39
+ {[testenv]deps}
39
40
diff-cover
40
41
commands =
41
42
pytest {posargs} --cov-report xml
You can’t perform that action at this time.
0 commit comments