Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PEP 621: Migrate settings from setup.cfg into pyproject.toml #586

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 140
exclude = .tox,.eggs,ci/templates,build,dist
89 changes: 89 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"

[project]
dynamic = ["version"]
name = "pytest-cov"

[metadata]
name = pytest-cov
version = 4.0.0
author = Marc Schlaich
author_email = marc.schlaich@gmail.com
license = MIT
description = Pytest plugin for measuring coverage.
keywords =
cover
coverage
pytest
py.test
distributed
parallel
url = https://github.com/pytest-dev/pytest-cov
long_description = file: README.rst, CHANGELOG.rst
classifiers =
Development Status :: 5 - Production/Stable
Framework :: Pytest
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Testing
Topic :: Utilities
project_urls =
Documentation = https://pytest-cov.readthedocs.io/
Changelog = https://pytest-cov.readthedocs.io/en/latest/changelog.html
Issue Tracker = https://github.com/pytest-dev/pytest-cov/issues

[options]
package_dir =
= src
py_modules =
packages = find:
zip_safe = False
install_requires = pytest>=4.6; coverage[toml]>=5.2.1
include_package_data = True
python_requires = >=3.7

[options.entry_points]
pytest11 = pytest_cov = pytest_cov.plugin

[options.extras_require]
testing =
fields
hunter
process-tests
six
pytest-xdist
virtualenv

[tool.isort]
force_single_line = "True"
line_length = "120"
known_first_party = "pytest_cov"
default_section = "THIRDPARTY"
forced_separate = "test_pytest_cov"
skip = ".tox,.eggs,ci/templates,build,dist"

[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = """
-ra
--strict
-p pytester"""

[tool.setuptools]
include-package-data = false
19 changes: 0 additions & 19 deletions setup.cfg

This file was deleted.