-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance Packaging, Testing, and Infrastructure with Modern Tools and Features
- Loading branch information
Showing
31 changed files
with
856 additions
and
328 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,4 @@ | ||
# This file is used to automatically assign reviewers to PRs | ||
# For more information see: https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners | ||
|
||
* @jacksonpradolima |
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,64 @@ | ||
name: Bug report | ||
description: Report an issue or bug with this library | ||
labels: ['bug'] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
- type: checkboxes | ||
id: non_api | ||
attributes: | ||
label: Confirm this is an issue with the gsp-py library. | ||
description: Issues relevant to other tools should be directed to their respective repositories. | ||
options: | ||
- label: This is an issue with the gsp-py library | ||
required: true | ||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is, and any additional context. | ||
placeholder: Tell us what you see! | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: repro-steps | ||
attributes: | ||
label: To Reproduce | ||
description: Steps to reproduce the behavior. | ||
placeholder: | | ||
1. Fetch a '...' | ||
2. Update the '....' | ||
3. See error | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: code-snippets | ||
attributes: | ||
label: Code snippets | ||
description: If applicable, add code snippets to help explain your problem. | ||
render: Python | ||
validations: | ||
required: false | ||
- type: input | ||
id: os | ||
attributes: | ||
label: OS | ||
placeholder: macOS | ||
validations: | ||
required: true | ||
- type: input | ||
id: language-version | ||
attributes: | ||
label: Python version | ||
placeholder: Python v3.11.4 | ||
validations: | ||
required: true | ||
- type: input | ||
id: lib-version | ||
attributes: | ||
label: Library version | ||
placeholder: gsp-py v1.0.0 | ||
validations: | ||
required: true |
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,7 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: gsp-py Support | ||
url: https://github.com/jacksonpradolima/gsp-py | ||
about: | | ||
Please only file issues here if they relate to actual bugs or feature requests for the gsp-py project. | ||
For more general discussions or questions, open an issue and select the appropriate template. |
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,28 @@ | ||
name: Feature request | ||
description: Suggest an idea for this library | ||
labels: ['feature-request'] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this feature request! | ||
- type: checkboxes | ||
id: non_api | ||
attributes: | ||
label: Confirm this is a feature request for the gsp-py library. | ||
description: Feature requests relevant to other tools should be directed to the correct repository. | ||
options: | ||
- label: This is a feature request for the gsp-py library | ||
required: true | ||
- type: textarea | ||
id: feature | ||
attributes: | ||
label: Describe the feature or improvement you're requesting | ||
description: A clear and concise description of what you want to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the feature request here. |
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,51 @@ | ||
name: Code Quality | ||
|
||
on: | ||
pull_request: | ||
types: [ opened, synchronize, reopened, edited, ready_for_review ] | ||
|
||
jobs: | ||
code-quality: | ||
name: Code Quality Checks | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Step 1: Checkout the repository code | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
# Step 2: Install Rye (via Curl) | ||
- name: Install Rye | ||
uses: eifinger/setup-rye@v4 | ||
with: | ||
version: '0.43.0' | ||
enable-cache: 'true' | ||
|
||
# Step 3: Sync dependencies | ||
- name: Sync dependencies | ||
run: rye sync | ||
|
||
# Step 4: Get changed Python files | ||
- name: Get Python changed files | ||
id: changed-py-files | ||
uses: tj-actions/changed-files@v45 | ||
with: | ||
files: | | ||
*.py | ||
**/*.py | ||
# Step 5: Run Ruff for only changed files | ||
- name: Run Ruff (Lint) | ||
if: steps.changed-py-files.outputs.any_changed == 'true' | ||
run: | | ||
echo "Running Ruff on changed files..." | ||
echo "Changed files: ${{ steps.changed-py-files.outputs.all_changed_files }}" | ||
rye run lint ${{ steps.changed-py-files.outputs.all_changed_files }} | ||
# Step 6: Run Pyright for only changed files | ||
- name: Run Pyright (Type Check) | ||
if: steps.changed-py-files.outputs.any_changed == 'true' | ||
run: | | ||
echo "Running Pyright on changed files..." | ||
echo "Changed files: ${{ steps.changed-py-files.outputs.all_changed_files }}" | ||
rye run typecheck ${{ steps.changed-py-files.outputs.all_changed_files }} |
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 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,6 +1,6 @@ | ||
3.6.15 | ||
3.7.12 | ||
3.8.10 | ||
3.9.16 | ||
3.10.12 | ||
3.11.4 | ||
3.12.8 | ||
3.13.1 |
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
Oops, something went wrong.