forked from warpnet/salt-lint
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace setup.py by pyproject.toml according to PEP 518 (warpne…
…t#319) Replace setup.py by pyproject.toml according to PEP 518 and drop python 3.6 support. --------- Signed-off-by: Roald Nefs <info@roaldnefs.com>
- Loading branch information
Showing
7 changed files
with
71 additions
and
109 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools >= 65.3.0", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
dynamic = ["version"] | ||
name = "salt-lint" | ||
description = "A command-line utility that checks for best practices in SaltStack." | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{name = "Roald Nefs", email = "roald.nefs@warpnet.nl"}, | ||
] | ||
maintainers = [ | ||
{name = "Roald Nefs", email = "roald.nefs@warpnet.nl"}, | ||
{name = "Jeffrey Bouter", email = "jeffrey.bouter@warpnet.nl"}, | ||
] | ||
license = {text = "MIT License"} | ||
keywords = ['salt', 'saltstack', 'lint', 'linter', 'checker'] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"Intended Audience :: System Administrators", | ||
"Operating System :: OS Independent", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"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 :: 3.12", | ||
"Topic :: Software Development :: Bug Tracking", | ||
"Topic :: Software Development :: Quality Assurance", | ||
"Topic :: Software Development :: Testing", | ||
"Topic :: Utilities", | ||
] | ||
dependencies = [ | ||
"pyyaml", | ||
"pathspec>=0.6.0", | ||
] | ||
|
||
[project.scripts] | ||
salt-lint = "saltlint.cli:run" | ||
|
||
[project.urls] | ||
homepage = "https://github.com/warpnet/salt-lint" | ||
documentation = "https://salt-lint.readthedocs.io/en/latest/" | ||
repository = "https://github.com/warpnet/salt-lint" | ||
issues = "https://github.com/warpnet/salt-lint/issues" | ||
changelog = "https://raw.githubusercontent.com/warpnet/salt-lint/main/CHANGELOG.md" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "saltlint.__version__"} |
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,13 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright (c) 2020-2023 Warpnet B.V. | ||
# Copyright (c) 2020-2024 Warpnet B.V. | ||
|
||
"""A command-line utility that checks for best practices in SaltStack. | ||
""" | ||
|
||
NAME = 'salt-lint' | ||
VERSION = '0.9.2' | ||
DESCRIPTION = __doc__ | ||
|
||
__author__ = 'Warpnet B.V.' | ||
__license__ = 'MIT' | ||
__version__ = VERSION | ||
__version__ = '0.9.2' |
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