This repository was archived by the owner on Feb 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Use setuptools for plugin mechanism. #33
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
2f6f408
Switch from setup.py to pyproject.toml, update unit tests, update git…
tdenewiler af78da9
Update URLs.
tdenewiler 15c8951
Dependency cleanup.
tdenewiler 3c82eb1
Update GitHub action versions. Use stdlib-plugins branch for statick …
tdenewiler a4f1bed
Drop Python 3.8, add Python 3.13.
tdenewiler 6e5eeb7
Add ubuntu-20.04.
tdenewiler 79af226
Merge in main.
tdenewiler 0e74b72
Run isort on test files.
tdenewiler e3fb71f
Merge in main branch.
tdenewiler e317385
Simplify pip install command.
tdenewiler fefed51
Update usage instructions in readme.
tdenewiler 5ae3896
Fix dockerfile_lint unit tests when tool output includes non-json lin…
tdenewiler 8110a29
Bump node version to 20 in CI.
tdenewiler e1aaace
Remove npm cache.
tdenewiler b5ac510
Use runner.os to simplify Linux-specific action steps.
tdenewiler c604758
Update changelog.
tdenewiler d480834
Use latest statick release as dependency.
tdenewiler 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
|---|---|---|
| @@ -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.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.
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.