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 3
Use setuptools for plugin mechanism. #65
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
894e7a8
Switch from setup.py to pyproject.toml, update unit tests, update git…
tdenewiler 9270e34
Dependency cleanup.
tdenewiler 292aeb9
Update GitHub action versions. Use stdlib-plugins branch for statick …
tdenewiler 929e5f3
Simplify dependency installation in workflow.
tdenewiler 0c92831
Drop Python 3.8, add Python 3.13.
tdenewiler ce139f7
Add ubuntu-20.04.
tdenewiler e2e06de
Merge in main branch. Run isort.
tdenewiler e1ef49f
Merge in main branch.
tdenewiler 5f81842
Simplify pip install command.
tdenewiler 2dabfce
Add codecov configuration file. Ignore unit test line coverage.
tdenewiler ab0b699
Update .codecov.yml to remove extra empty line.
tdenewiler 497d163
Use runner.os to simplify Linux-specific action steps.
tdenewiler a88c185
Update changelog.
tdenewiler 85a4eea
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| coverage: | ||
| status: | ||
| project: | ||
| default: | ||
| target: 0% | ||
| threshold: null |
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 |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| [build-system] | ||
| requires = ["setuptools", "wheel"] | ||
| build-backend = "setuptools.build_meta" | ||
|
|
||
| [project] | ||
| name = "statick-web" | ||
| authors = [{name = "NIWC Pacific"}] | ||
| description="Statick analysis plugins for Web (css, html, js) 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", | ||
| ] | ||
|
|
||
| [tool.setuptools.package-data] | ||
| statick_tool = [ | ||
| "rsc/*", | ||
| "rsc/.*", | ||
| ] | ||
|
|
||
| [project.entry-points."statick_tool.plugins.discovery"] | ||
| css = "statick_tool.plugins.discovery.css:CSSDiscoveryPlugin" | ||
| html = "statick_tool.plugins.discovery.html:HTMLDiscoveryPlugin" | ||
| javascript = "statick_tool.plugins.discovery.javascript:JavaScriptDiscoveryPlugin" | ||
|
|
||
| [project.entry-points."statick_tool.plugins.tool"] | ||
| eslint = "statick_tool.plugins.tool.eslint:ESLintToolPlugin" | ||
| htmllint = "statick_tool.plugins.tool.htmllint:HTMLLintToolPlugin" | ||
| jshint = "statick_tool.plugins.tool.jshint:JSHintToolPlugin" | ||
| stylelint = "statick_tool.plugins.tool.stylelint:StylelintToolPlugin" | ||
|
|
||
| [project.urls] | ||
| "Homepage" = "https://github.com/sscpac/statick-web" | ||
| "Bug Tracker" = "https://github.com/sscpac/statick-web/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 = [ | ||
| "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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/statick_web/plugins/discovery/css_discovery_plugin.yapsy-plugin
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/statick_web/plugins/discovery/html_discovery_plugin.yapsy-plugin
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/statick_web/plugins/discovery/javascript_discovery_plugin.yapsy-plugin
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/statick_web/plugins/tool/htmllint_tool_plugin.yapsy-plugin
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
src/statick_web/plugins/tool/stylelint_tool_plugin.yapsy-plugin
This file was deleted.
Oops, something went wrong.
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.