Skip to content

Commit 21df436

Browse files
authored
Docs + Rename
1 parent a1c7479 commit 21df436

File tree

308 files changed

+57828
-5732
lines changed

Some content is hidden

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

308 files changed

+57828
-5732
lines changed

.coveragerc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ omit =
66
*/.venv/*
77
disable_warnings = couldnt-parse
88
source =
9-
py_ballisticcalc
10-
py_ballisticcalc_exts
11-
py_ballisticcalc.exts
9+
pyballistic
10+
pyballistic_exts
11+
pyballistic.exts
1212

1313
[report]
1414
exclude_lines =
@@ -21,9 +21,9 @@ omit =
2121
# Alias Cython-reported file paths to the real source tree locations
2222
source =
2323
.
24-
py_ballisticcalc_exts
25-
py_ballisticcalc.exts
26-
py_ballisticcalc.exts/py_ballisticcalc_exts
24+
pyballistic_exts
25+
pyballistic.exts
26+
pyballistic.exts/pyballistic_exts
2727

2828
[run:plugins]
2929
# Ensure the Cython plugin claims .pyx files for reporting

.github/FUNDING.yml

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

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Pull Request Guidelines for py-ballisticcalc
1+
Pull Request Guidelines for pyballistic
22
---------------------------------
33

44
Before you submit a pull request, check that it meets these guidelines:

.github/workflows/cibuildwheel_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Build binary python package
3939
run: |
40-
cd ./py_ballisticcalc.exts
40+
cd ./pyballistic.exts
4141
uv build --sdist --out-dir ../dist
4242
uv run cibuildwheel --output-dir ../dist
4343
cd ..

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: uv pip install -e .[dev]
2727

2828
- name: Run coverage
29-
run: pytest tests --cov=py_ballisticcalc --cov-report=html
29+
run: pytest tests --cov=pyballistic --cov-report=html
3030

3131
# - name: Install "coverage-badge"
3232
# run: uv pip install coverage-badge

.github/workflows/pylint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
run: |
3232
uv pip install -e .[dev]
3333
34-
- name: Analysing the code with pylint
34+
- name: Analysing the code with pylint (pass if score >= 9.0)
3535
run: |
36-
pylint ./py_ballisticcalc
36+
pylint --fail-under=9.0 ./pyballistic

.github/workflows/pypi-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ jobs:
3434
3535
- name: Install dependencies
3636
run: |
37-
python -m pip install build cibuildwheel==2.20.0 twine
38-
# Hardcoded cibuildwheel version here to overcome macos build failures on v2.2.0b6. Can probably remove after Python3.9 sunset.
37+
python -m pip install build cibuildwheel
3938
4039
- name: Build pure python package
4140
run: python -m build
4241

4342
- name: Build binary python package
4443
run: |
45-
cd ./py_ballisticcalc.exts
44+
cd ./pyballistic.exts
4645
python -m build --sdist --outdir ../dist
4746
cibuildwheel --output-dir ../dist
4847
cd ..

.github/workflows/pypi-test-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ jobs:
3333
3434
- name: Install dependencies
3535
run: |
36-
python -m pip install build cibuildwheel twine
36+
python -m pip install build cibuildwheel
3737
3838
- name: Build pure python package
3939
run: python -m build
4040

4141
- name: Build binary python package
4242
run: |
43-
cd ./py_ballisticcalc.exts
43+
cd ./pyballistic.exts
4444
python -m build --sdist --outdir ../dist
4545
cibuildwheel --output-dir ../dist
4646
cd ..

.github/workflows/pytest-all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false # Set to 'false' so that if one job in the matrix fails, the others will still complete.
2424
matrix: # Define all the combinations for the 'full' test suite
2525
os: [ ubuntu-latest, windows-latest, macos-13, macos-14 ] # Operating systems to test on
26-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] # Python versions to test
26+
python-version: [ "3.10", "3.11", "3.12", "3.13" ] # Python versions to test
2727
# The 'engine' variable for this matrix. Make sure the name matches what you pass in 'with:' below.
2828
engine: [ "euler_engine", "rk4_engine", "cythonized_euler_engine", "cythonized_rk4_engine" ]
2929

@@ -47,7 +47,7 @@ jobs:
4747
fail-fast: false # Ensure all jobs in this minimal matrix complete even if one fails.
4848
matrix: # Define the combinations for the 'minimal' test suite
4949
os: [ ubuntu-latest ] # Fixed to one OS for minimal testing
50-
python-version: [ "3.9" ] # Fixed to one Python version for minimal testing
50+
python-version: [ "3.10" ] # Fixed to one Python version for minimal testing
5151
# The 'engine-entry' variable as defined in your original minimal matrix.
5252
engine-entry: [ "euler_engine", "rk4_engine", "cythonized_euler_engine", "cythonized_rk4_engine" ]
5353

.github/workflows/pytest-cythonized-euler-engine.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
os: [ ubuntu-latest, windows-latest, macos-13, macos-14 ]
27-
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ]
27+
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
2828
engine: [ "cythonized_euler_engine" ]
2929

3030
uses: ./.github/workflows/pytest-reusable.yml
@@ -41,7 +41,7 @@ jobs:
4141
fail-fast: false
4242
matrix:
4343
os: [ ubuntu-latest ]
44-
python-version: [ "3.9" ]
44+
python-version: [ "3.10" ]
4545
engine: [ "cythonized_euler_engine" ]
4646

4747
uses: ./.github/workflows/pytest-reusable.yml

0 commit comments

Comments
 (0)