forked from PyCQA/pylint-pytest
-
Notifications
You must be signed in to change notification settings - Fork 3
Migrate setup.py to pyproject.toml #8
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
245d147
Move everything from the setup.cfg to pyproject.toml
Pierre-Sassoulas bc95dc1
Drop python 3.6 and 3.7
Pierre-Sassoulas bdb3ff7
Upgrade python version to python 3.8 in tooling configuration
Pierre-Sassoulas e0526a8
Add python 3.12 and pylint 3.0 compatibility
Pierre-Sassoulas c7fc522
[pyproject.toml] Move project informations from setup.py
Pierre-Sassoulas dda8a03
[pyproject.toml] Define the license using setuptools as builder
Pierre-Sassoulas 246232c
[pyproject.toml] Move the exclusion from setup.py
Pierre-Sassoulas 3cbbfc6
[pyproject.toml] Migrate from test_requires to optional extra 'test'
Pierre-Sassoulas 421809d
Merge branch 'master' into migrate-to-setup.cfg
stdedos 37aea8b
Revert "Roll back `from __future__ import annotations` for Python 3.6"
stdedos 05e6359
Copy-paste those changes from a different branch
stdedos a15ff07
Merge branch 'master' into migrate-to-setup.cfg
stdedos 632989a
Merge branch 'master' into migrate-to-setup.cfg
Pierre-Sassoulas de51223
Update setup.py
Pierre-Sassoulas 975e1e7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5c6d3fb
`chmod -x setup.py`
stdedos 2df48d8
Correct `CHANGELOG.md`
stdedos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,10 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
|
||
from os import path | ||
""" | ||
Only a compatibility placeholder | ||
https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html | ||
""" | ||
|
||
from setuptools import find_packages, setup | ||
from setuptools import 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="133706+stdedos@users.noreply.github.com", | ||
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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.