Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd5fc6e5

Browse files
authored
Merge pull request#1729 from EliahKagan/xfail
Reorganize test_util and make xfail marks precise
2 parents340da6d +ba5bc45 commitd5fc6e5

File tree

3 files changed

+262
-207
lines changed

3 files changed

+262
-207
lines changed

‎pyproject.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ requires = ["setuptools"]
33
build-backend ="setuptools.build_meta"
44

55
[tool.pytest.ini_options]
6-
python_files ='test_*.py'
7-
testpaths ='test'# space separated list of paths from root e.g test tests doc/testing
8-
addopts ='--cov=git --cov-report=term --disable-warnings'
9-
filterwarnings ='ignore::DeprecationWarning'
6+
addopts ="--cov=git --cov-report=term --disable-warnings"
7+
filterwarnings ="ignore::DeprecationWarning"
8+
python_files ="test_*.py"
9+
tmp_path_retention_policy ="failed"
10+
testpaths ="test"# Space separated list of paths from root e.g test tests doc/testing.
1011
# --cov coverage
1112
# --cov-report term # send report to terminal term-missing -> terminal with line numbers html xml
1213
# --cov-report term-missing # to terminal with line numbers
@@ -29,7 +30,7 @@ show_error_codes = true
2930
implicit_reexport =true
3031
# strict = true
3132

32-
# TODO:remove when 'gitdb' is fully annotated
33+
# TODO:Remove when 'gitdb' is fully annotated.
3334
exclude = ["^git/ext/gitdb"]
3435
[[tool.mypy.overrides]]
3536
module ="gitdb.*"
@@ -44,5 +45,5 @@ omit = ["*/git/ext/*"]
4445

4546
[tool.black]
4647
line-length =120
47-
target-version = ['py37']
48+
target-version = ["py37"]
4849
extend-exclude ="git/ext/gitdb"

‎test-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ ddt >= 1.1.1, != 1.4.3
44
mock ; python_version < "3.8"
55
mypy
66
pre-commit
7-
pytest
7+
pytest >= 7.3.1
88
pytest-cov
99
pytest-instafail
10-
pytest-subtests
10+
pytest-mock
1111
pytest-sugar

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp