pytest-sort 1.3.3__tar.gz → 1.3.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {pytest_sort-1.3.3/src/pytest_sort.egg-info → pytest_sort-1.3.4}/PKG-INFO +3 -3
  2. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/README.md +1 -1
  3. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/pyproject.toml +5 -4
  4. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort/__init__.py +2 -0
  5. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort/config.py +2 -0
  6. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort/core.py +2 -0
  7. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort/database.py +2 -0
  8. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort/diffcov.py +2 -0
  9. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort/plugin.py +2 -0
  10. {pytest_sort-1.3.3 → pytest_sort-1.3.4/src/pytest_sort.egg-info}/PKG-INFO +3 -3
  11. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/test/test_config.py +2 -0
  12. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/test/test_core.py +2 -0
  13. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/test/test_database.py +2 -0
  14. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/test/test_diffcov.py +2 -0
  15. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/test/test_plugin.py +2 -0
  16. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/LICENSE +0 -0
  17. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/setup.cfg +0 -0
  18. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort.egg-info/SOURCES.txt +0 -0
  19. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort.egg-info/dependency_links.txt +0 -0
  20. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort.egg-info/entry_points.txt +0 -0
  21. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort.egg-info/requires.txt +0 -0
  22. {pytest_sort-1.3.3 → pytest_sort-1.3.4}/src/pytest_sort.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-sort
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: Tools for sorting test cases
5
5
  Author-email: WiredNerd <pbuschmail-pytestsort@yahoo.com>
6
6
  Maintainer-email: WiredNerd <pbuschmail-pytestsort@yahoo.com>
@@ -34,7 +34,7 @@ Classifier: Programming Language :: Python :: 3
34
34
  Classifier: License :: OSI Approved :: MIT License
35
35
  Classifier: Operating System :: OS Independent
36
36
  Classifier: Framework :: Pytest
37
- Requires-Python: >=3.10
37
+ Requires-Python: >=3.11
38
38
  Description-Content-Type: text/markdown
39
39
  License-File: LICENSE
40
40
  Requires-Dist: pytest>=7.4.0
@@ -44,7 +44,7 @@ Requires-Dist: zipp>=3.19.1
44
44
  Dynamic: license-file
45
45
 
46
46
  [![Homepage](https://img.shields.io/badge/Homepage-github-white?logo=github)](https://github.com/WiredNerd/pytest-sort)
47
- [![python>=3.10](https://img.shields.io/badge/python->=3.10-orange?logo=python&logoColor=green)](https://pypi.org/project/pytest-sort)
47
+ [![python>=3.11](https://img.shields.io/badge/python->=3.11-orange?logo=python&logoColor=green)](https://pypi.org/project/pytest-sort)
48
48
  [![PyPI - Version](https://img.shields.io/pypi/v/pytest-sort?logo=pypi&logoColor=white)](https://pypi.org/project/pytest-sort)
49
49
  [![PyPI - Downloads](https://img.shields.io/pypi/dm/pytest-sort)](https://pypistats.org/packages/pytest-sort)
50
50
  [![PyPI - License](https://img.shields.io/pypi/l/pytest-sort)](https://github.com/WiredNerd/pytest-sort/blob/main/LICENSE)
@@ -1,5 +1,5 @@
1
1
  [![Homepage](https://img.shields.io/badge/Homepage-github-white?logo=github)](https://github.com/WiredNerd/pytest-sort)
2
- [![python>=3.10](https://img.shields.io/badge/python->=3.10-orange?logo=python&logoColor=green)](https://pypi.org/project/pytest-sort)
2
+ [![python>=3.11](https://img.shields.io/badge/python->=3.11-orange?logo=python&logoColor=green)](https://pypi.org/project/pytest-sort)
3
3
  [![PyPI - Version](https://img.shields.io/pypi/v/pytest-sort?logo=pypi&logoColor=white)](https://pypi.org/project/pytest-sort)
4
4
  [![PyPI - Downloads](https://img.shields.io/pypi/dm/pytest-sort)](https://pypistats.org/packages/pytest-sort)
5
5
  [![PyPI - License](https://img.shields.io/pypi/l/pytest-sort)](https://github.com/WiredNerd/pytest-sort/blob/main/LICENSE)
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
  [project]
6
6
  name = "pytest-sort"
7
7
  description = "Tools for sorting test cases"
8
- version = "1.3.3"
8
+ version = "1.3.4"
9
9
  license = { file = "LICENSE" }
10
10
  keywords = [
11
11
  "test",
@@ -24,7 +24,7 @@ maintainers = [
24
24
  { name = "WiredNerd", email = "pbuschmail-pytestsort@yahoo.com" },
25
25
  ]
26
26
  readme = "README.md"
27
- requires-python = ">=3.10"
27
+ requires-python = ">=3.11"
28
28
  classifiers = [
29
29
  "Programming Language :: Python :: 3",
30
30
  "License :: OSI Approved :: MIT License",
@@ -64,7 +64,7 @@ command_line = "pytest -x --assert=plain -o pythonpath='{PYTHONPATH}' --sort-mod
64
64
 
65
65
  [tool.black]
66
66
  line-length = 120
67
- target-version = ['py310', 'py311', 'py312', 'py313', 'py314']
67
+ target-version = ['py311', 'py312', 'py313', 'py314', 'py315']
68
68
  skip-string-normalization = true
69
69
  color = true
70
70
 
@@ -76,7 +76,7 @@ files = "src"
76
76
  mypy_path = "src"
77
77
 
78
78
  [tool.ruff]
79
- target-version = "py310"
79
+ target-version = "py311"
80
80
  output-format = "full"
81
81
  line-length = 120
82
82
  exclude = [
@@ -137,6 +137,7 @@ known-first-party = ["pytest_sort"]
137
137
  "N802", # Function name should be lowercase
138
138
  "N803", # Argument name should be lowercase
139
139
  "PLR0913", # Too many arguments in function definition
140
+ "PLR0917", # Too many positional arguments
140
141
  "PLR2004", # Magic value used in comparison
141
142
  "S101", # Use of `assert` detected
142
143
  "SLF001", # Private member accessed
@@ -1 +1,3 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  """pytest-sort is a pytest plugin to automatically change the execution order of test cases."""
@@ -1,3 +1,5 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  """Container for configuration of pytest_sort."""
2
4
 
3
5
  from __future__ import annotations
@@ -1,3 +1,5 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  """Core logic for pytest_sort plugin."""
2
4
 
3
5
  from __future__ import annotations
@@ -1,3 +1,5 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  """Manages datafile for pytest_sort plugin."""
2
4
 
3
5
  from __future__ import annotations
@@ -1,3 +1,5 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  """Logic for prioritizing tests by coverage of changes."""
2
4
 
3
5
  from __future__ import annotations
@@ -1,3 +1,5 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  """Pytest plugin code for pytest_sort."""
2
4
 
3
5
  from __future__ import annotations
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-sort
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: Tools for sorting test cases
5
5
  Author-email: WiredNerd <pbuschmail-pytestsort@yahoo.com>
6
6
  Maintainer-email: WiredNerd <pbuschmail-pytestsort@yahoo.com>
@@ -34,7 +34,7 @@ Classifier: Programming Language :: Python :: 3
34
34
  Classifier: License :: OSI Approved :: MIT License
35
35
  Classifier: Operating System :: OS Independent
36
36
  Classifier: Framework :: Pytest
37
- Requires-Python: >=3.10
37
+ Requires-Python: >=3.11
38
38
  Description-Content-Type: text/markdown
39
39
  License-File: LICENSE
40
40
  Requires-Dist: pytest>=7.4.0
@@ -44,7 +44,7 @@ Requires-Dist: zipp>=3.19.1
44
44
  Dynamic: license-file
45
45
 
46
46
  [![Homepage](https://img.shields.io/badge/Homepage-github-white?logo=github)](https://github.com/WiredNerd/pytest-sort)
47
- [![python>=3.10](https://img.shields.io/badge/python->=3.10-orange?logo=python&logoColor=green)](https://pypi.org/project/pytest-sort)
47
+ [![python>=3.11](https://img.shields.io/badge/python->=3.11-orange?logo=python&logoColor=green)](https://pypi.org/project/pytest-sort)
48
48
  [![PyPI - Version](https://img.shields.io/pypi/v/pytest-sort?logo=pypi&logoColor=white)](https://pypi.org/project/pytest-sort)
49
49
  [![PyPI - Downloads](https://img.shields.io/pypi/dm/pytest-sort)](https://pypistats.org/packages/pytest-sort)
50
50
  [![PyPI - License](https://img.shields.io/pypi/l/pytest-sort)](https://github.com/WiredNerd/pytest-sort/blob/main/LICENSE)
@@ -1,3 +1,5 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  import importlib
2
4
  import random
3
5
  import sys
@@ -1,3 +1,5 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  import hashlib
2
4
  import importlib
3
5
  import sys
@@ -1,3 +1,5 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  import importlib
2
4
  import json
3
5
  from unittest import mock
@@ -1,3 +1,5 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  import importlib
2
4
  from pathlib import Path
3
5
  from unittest import mock
@@ -1,3 +1,5 @@
1
+ # Copyright (c) 2023 WiredNerd
2
+ # SPDX-License-Identifier: MIT
1
3
  import argparse
2
4
  import importlib
3
5
  from unittest import mock
File without changes
File without changes