-
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.
Use setuptools for plugin mechanism. (#33)
* Switch from setup.py to pyproject.toml, update unit tests, update github workflows. * Drop Python 3.8. * Add Python 3.13. * Add ubuntu-20.04 to CI. * Update usage instructions in readme. * Fix dockerfile_lint unit tests when tool output includes non-json lines (for warnings). * Bump node version to 20 in CI. * Use runner.os to simplify Linux-specific action steps.
- Loading branch information
1 parent
3b7c500
commit 5dfcbee
Showing
33 changed files
with
229 additions
and
319 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,66 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "statick-tooling" | ||
authors = [{name = "NIWC Pacific"}] | ||
description="Statick analysis plugins for Tooling files." | ||
version = "0.2.0" | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
license = {text = "CC0-1.0"} | ||
classifiers = [ | ||
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Topic :: Software Development :: Quality Assurance", | ||
"Topic :: Software Development :: Testing", | ||
"Typing :: Typed", | ||
] | ||
|
||
dependencies = [ | ||
"importlib_metadata", | ||
"statick", | ||
"types-docutils", | ||
] | ||
|
||
[tool.setuptools.package-data] | ||
statick_tool = [ | ||
"rsc/*", | ||
"rsc/.*", | ||
] | ||
|
||
[project.entry-points."statick_tool.plugins.discovery"] | ||
dockerfile = "statick_tool.plugins.discovery.dockerfile:DockerfileDiscoveryPlugin" | ||
|
||
[project.entry-points."statick_tool.plugins.tool"] | ||
dockerfile-lint = "statick_tool.plugins.tool.dockerfile_lint:DockerfileULintToolPlugin" | ||
dockerfilelint = "statick_tool.plugins.tool.dockerfilelint:DockerfileLintToolPlugin" | ||
hadolint = "statick_tool.plugins.tool.hadolint:HadolintToolPlugin" | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/sscpac/statick-tooling" | ||
"Bug Tracker" = "https://github.com/sscpac/statick-tooling/issues" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"coverage", | ||
"mock", | ||
"pytest", | ||
"pytest-cov", | ||
"statick-md@git+https://github.com/tdenewiler/statick-md@stdlib-plugins", | ||
"tox", | ||
"tox-gh-actions", | ||
] | ||
docs = [ | ||
"sphinx==1.7.9", | ||
"yaml-1.3", | ||
] | ||
|
||
[tool.isort] | ||
profile = "black" |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.