Skip to content

Commit 00ec654

Browse files
chore: remove tracked __pycache__ bytecode files from git (#20)
# Conflicts: # README.md
2 parents 6a82887 + a970799 commit 00ec654

50 files changed

Lines changed: 606 additions & 166 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: [Coding-Dev-Tools] # Replace with actual GitHub Sponsors username when enrolled
4+
custom: ['https://revenueholdings.dev']
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug to help us improve
4+
title: '[Bug] '
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
**Describe the Bug**
10+
A clear and concise description of what the bug is.
11+
12+
**To Reproduce**
13+
Steps to reproduce the behavior:
14+
1. Install the tool: `pip install ...`
15+
2. Run command: `...`
16+
3. See error
17+
18+
**Expected Behavior**
19+
A clear and concise description of what you expected to happen.
20+
21+
**Screenshots / Logs**
22+
If applicable, add screenshots or error logs to help explain your problem.
23+
24+
**Environment (please complete):**
25+
- OS: [e.g. macOS 14, Ubuntu 22.04, Windows 11]
26+
- Python version: [e.g. 3.11]
27+
- Tool version: `tool --version`
28+
29+
**Additional Context**
30+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Documentation
4+
url: https://revenueholdings.dev
5+
about: Check the documentation first
6+
- name: Security Concern
7+
url: https://github.com/Coding-Dev-Tools/security
8+
about: Please report security vulnerabilities privately
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project
4+
title: '[Feature] '
5+
labels: enhancement
6+
assignees: ''
7+
---
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
11+
12+
**Describe the Solution You'd Like**
13+
A clear and concise description of what you want to happen.
14+
15+
**Describe Alternatives You've Considered**
16+
A clear and concise description of any alternative solutions or features you've considered.
17+
18+
**Use Case**
19+
How would this feature be used? Who would benefit from it?
20+
21+
**Additional Context**
22+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## Description
2+
3+
Please include a summary of the change and which issue is fixed.
4+
5+
Fixes # (issue)
6+
7+
## Type of Change
8+
9+
- [ ] Bug fix (non-breaking change fixing an issue)
10+
- [ ] New feature (non-breaking change adding functionality)
11+
- [ ] Breaking change (fix or feature that breaks existing behavior)
12+
- [ ] Documentation update
13+
- [ ] Dependency update
14+
15+
## How Has This Been Tested?
16+
17+
- [ ] `pytest` passes locally
18+
- [ ] Manual test with sample data
19+
20+
## Checklist
21+
22+
- [ ] My code follows the project's style guidelines
23+
- [ ] I have added tests that prove my fix/feature works
24+
- [ ] All new and existing tests pass
25+
- [ ] I have updated the documentation accordingly
26+
- [ ] I have added a CHANGELOG entry

.github/dependabot.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
version: 2
22
updates:
3-
- package-ecosystem: pip
3+
- package-ecosystem: "pip"
44
directory: "/"
55
schedule:
6-
interval: weekly
7-
open-pull-requests-limit: 5
8-
- package-ecosystem: github-actions
6+
interval: "weekly"
7+
day: "monday"
8+
open-pull-requests-limit: 10
9+
labels:
10+
- "dependencies"
11+
commit-message:
12+
prefix: "deps"
13+
prefix-development: "deps(dev)"
14+
15+
- package-ecosystem: "github-actions"
916
directory: "/"
1017
schedule:
11-
interval: weekly
12-
open-pull-requests-limit: 3
18+
interval: "monthly"
19+
open-pull-requests-limit: 5
20+
labels:
21+
- "ci"

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,23 @@ on:
66
pull_request:
77
branches: [main]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test:
1114
runs-on: ubuntu-latest
1215
strategy:
1316
matrix:
14-
python-version: ["3.10", "3.11", "3.12"]
17+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1518

1619
steps:
17-
- uses: actions/checkout@v6
20+
- uses: actions/checkout@v4
21+
with:
22+
persist-credentials: false
1823

1924
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v6
25+
uses: actions/setup-python@v5
2126
with:
2227
python-version: ${{ matrix.python-version }}
2328

@@ -30,4 +35,3 @@ jobs:
3035
- name: Run tests
3136
run: |
3237
python -m pytest tests/ -v --cov=src --cov-report=term-missing
33-

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
build:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v6
2222
- name: Setup Pages
2323
uses: actions/configure-pages@v5
2424
- name: Build with Jekyll

.github/workflows/publish.yml

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,51 +7,49 @@ on:
77
inputs:
88
pypi_target:
99
description: 'PyPI target (pypi or testpypi)'
10-
default: 'testpypi'
10+
default: 'pypi'
1111
type: choice
1212
options:
1313
- pypi
1414
- testpypi
1515

1616
jobs:
17-
build-and-publish:
17+
publish:
1818
runs-on: ubuntu-latest
19+
environment: pypi
1920
permissions:
20-
contents: read
2121
id-token: write
2222

2323
steps:
24-
- uses: actions/checkout@v6
24+
- uses: actions/checkout@v4
25+
with:
26+
persist-credentials: false
2527

26-
- name: Set up Python 3.11
27-
uses: actions/setup-python@v6
28+
- name: Set up Python 3.12
29+
uses: actions/setup-python@v5
2830
with:
29-
python-version: "3.11"
31+
python-version: "3.12"
3032

31-
- name: Install build deps
33+
- name: Install dependencies
3234
run: |
35+
python -m pip install --upgrade pip
3336
pip install build twine
3437
3538
- name: Lint with ruff
3639
run: pip install ruff && ruff check src/ --target-version py310
3740

3841
- name: Build package
39-
run: |
40-
python -m build
42+
run: python -m build
4143

42-
- name: Publish to PyPI
43-
if: ${{ inputs.pypi_target != 'testpypi' || github.event_name == 'release' }}
44-
env:
45-
TWINE_USERNAME: __token__
46-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
47-
run: |
48-
twine upload dist/* --verbose
44+
- name: Check package
45+
run: twine check dist/*
4946

5047
- name: Publish to TestPyPI
5148
if: ${{ inputs.pypi_target == 'testpypi' }}
52-
env:
53-
TWINE_USERNAME: __token__
54-
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
55-
run: |
56-
twine upload --repository testpypi dist/* --verbose
49+
uses: pypa/gh-action-pypi-publish@release/v1
50+
with:
51+
repository-url: https://test.pypi.org/legacy/
5752

53+
- name: Publish to PyPI
54+
if: ${{ inputs.pypi_target == 'pypi' || github.event_name == 'release' }}
55+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)