forked from PyCQA/pylint-pytest
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from pylint-dev/migrate-to-setup.cfg
See more details in #8
- Loading branch information
Showing
9 changed files
with
101 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
from __future__ import annotations | ||
|
||
import sys | ||
from pprint import pprint | ||
from typing import Any, Dict, List | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,75 @@ | ||
# Only a configuration storage, for now | ||
[build-system] | ||
requires = ["setuptools>=66.1"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pylint-pytest" | ||
version = "2.0.0rc0" | ||
license = {file = "LICENSE"} | ||
description = "A Pylint plugin to suppress pytest-related false positives." | ||
|
||
authors = [ | ||
{name = "Reverb Chu"}, | ||
] | ||
maintainers = [ | ||
{name = "Stavros Ntentos", email = "[email protected]"}, | ||
{name = "Pierre Sassoulas", email = "[email protected]"}, | ||
] | ||
|
||
readme = "README.md" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Testing", | ||
"Topic :: Software Development :: Quality Assurance", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Operating System :: OS Independent", | ||
"License :: OSI Approved :: MIT License", | ||
] | ||
keywords = [ | ||
"pylint", | ||
"pytest", | ||
"plugin", | ||
] | ||
|
||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"pylint>=2", | ||
"pytest>=4.6", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest", | ||
"pytest-cov", | ||
# For linting purposes, only pylint>3 is supported | ||
"pylint>=3", | ||
] | ||
|
||
[project.urls] | ||
Changelog = "https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md" | ||
Documentation = "https://github.com/pylint-dev/pylint-pytest#readme" | ||
Homepage = "https://github.com/pylint-dev/pylint-pytest" | ||
Source = "https://github.com/pylint-dev/pylint-pytest" | ||
Tracker = "https://github.com/pylint-dev/pylint-pytest/issues" | ||
"Say Thanks!" = "https://saythanks.io/to/stdedos" | ||
|
||
[tool.setuptools] | ||
license-files = ["LICENSE"] | ||
|
||
[tool.setuptools.packages.find] | ||
exclude = [ | ||
"tests*", | ||
"sandbox", | ||
] | ||
|
||
[tool.aliases] | ||
test = "pytest" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,8 @@ | ||
#!/usr/bin/env python | ||
""" | ||
Only a compatibility placeholder | ||
https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html | ||
""" | ||
|
||
from os import path | ||
from setuptools import setup | ||
|
||
from setuptools import find_packages, setup | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
with open(path.join(here, "README.md")) as fin: | ||
long_description = fin.read() | ||
|
||
|
||
setup( | ||
name="pylint-pytest", | ||
version="1.1.7", | ||
author="Stavros Ntentos", | ||
author_email="[email protected]", | ||
license="MIT", | ||
url="https://github.com/pylint-dev/pylint-pytest", | ||
project_urls={ | ||
"Changelog": "https://github.com/pylint-dev/pylint-pytest/blob/master/CHANGELOG.md", | ||
"Documentation": "https://github.com/pylint-dev/pylint-pytest#readme", | ||
"Say Thanks!": "https://saythanks.io/to/stdedos", | ||
"Source": "https://github.com/pylint-dev/pylint-pytest", | ||
"Tracker": "https://github.com/pylint-dev/pylint-pytest/issues", | ||
}, | ||
description="A Pylint plugin to suppress pytest-related false positives.", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
packages=find_packages(exclude=["tests*", "sandbox"]), | ||
install_requires=[ | ||
"pylint>=2", | ||
"pytest>=4.6", | ||
], | ||
python_requires=">=3.8", | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Testing", | ||
"Topic :: Software Development :: Quality Assurance", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"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", | ||
"Operating System :: OS Independent", | ||
"License :: OSI Approved :: MIT License", | ||
], | ||
tests_require=["pytest", "pytest-cov", "pylint"], | ||
keywords=["pylint", "pytest", "plugin"], | ||
) | ||
setup() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters