-
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.
Merge pull request #136 from 56kyle/release/1.0.0
Release/1.0.0
- Loading branch information
Showing
35 changed files
with
1,200 additions
and
747 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.{py,toml}] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.yml,yaml,json] | ||
indent_style = space | ||
indent_size = 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
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 |
---|---|---|
|
@@ -12,6 +12,7 @@ jobs: | |
permissions: | ||
contents: write | ||
packages: write | ||
id-token: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repository | ||
|
@@ -22,16 +23,16 @@ jobs: | |
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
python-version: "3.12" | ||
|
||
- name: Upgrade pip | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt pip | ||
pip install --constraint=${{ github.workspace }}/.github/workflows/constraints.txt pip | ||
pip --version | ||
- name: Install Poetry | ||
run: | | ||
pip install --constraint=.github/workflows/constraints.txt poetry | ||
pip install --constraint=${{ github.workspace }}/.github/workflows/constraints.txt poetry | ||
poetry --version | ||
- name: Check if there is a parent commit | ||
|
@@ -61,17 +62,12 @@ jobs: | |
- name: Publish package on PyPI | ||
if: steps.check-version.outputs.tag | ||
uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_TOKEN }} | ||
|
||
- name: Publish package on TestPyPI | ||
if: "! steps.check-version.outputs.tag" | ||
uses: pypa/[email protected] | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.TEST_PYPI_TOKEN }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
repository-url: https://test.pypi.org/legacy/ | ||
|
||
- name: Publish the release notes | ||
uses: release-drafter/[email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
version: "3.0" | ||
|
||
scanning-settings: | ||
max-depth: 6 | ||
exclude: [] | ||
include-files: [] | ||
system: | ||
targets: [] | ||
|
||
report: | ||
dependency-vulnerabilities: | ||
enabled: true | ||
auto-ignore-in-report: | ||
python: | ||
environment-results: true | ||
unpinned-requirements: true | ||
cvss-severity: [] | ||
|
||
fail-scan-with-exit-code: | ||
dependency-vulnerabilities: | ||
enabled: true | ||
fail-on-any-of: | ||
cvss-severity: | ||
- critical | ||
- medium | ||
- high | ||
exploitability: | ||
- critical | ||
- medium | ||
- high | ||
|
||
security-updates: | ||
dependency-vulnerabilities: | ||
auto-security-updates-limit: | ||
- patch | ||
|
||
security: | ||
ignore-vulnerabilities: | ||
70612: | ||
reason: Jinja2 has no intentions of fixing this vulnerability. | ||
expires: "2025-01-01" |
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,2 @@ | ||
assert_used: | ||
skips: ["*/test_*.py"] |
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,4 +1,5 @@ | ||
"""Sphinx configuration.""" | ||
|
||
project = "pytest-static" | ||
author = "Kyle Oliver" | ||
copyright = "2023, Kyle Oliver" | ||
|
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,4 +1,4 @@ | ||
furo==2023.8.19 | ||
sphinx==7.2.5 | ||
sphinx-click==5.0.1 | ||
myst_parser==2.0.0 | ||
furo==2022.12.7 | ||
sphinx==5.3.0 | ||
sphinx-click==4.4.0 | ||
myst_parser==0.18.1 |
Oops, something went wrong.