Skip to content

Commit

Permalink
MNT: Simplify Monte Carlo parallel export structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
phmbressan committed Dec 16, 2024
1 parent 8082710 commit 00d9d02
Show file tree
Hide file tree
Showing 367 changed files with 176,966 additions and 60,978 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions .github/clear-local-branches.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Delete local branches that no longer exists on remote (windows command line)
git branch -vv | Where-Object { $_ -match 'gone\]' } | ForEach-Object { $_.Trim().Split()[0] } | ForEach-Object { git branch -D $_ }
10 changes: 9 additions & 1 deletion .github/workflows/test-pytest-slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ on:
schedule:
- cron: "0 17 * * 5" # at 05:00 PM, only on Friday
timezone: "America/Sao_Paulo"
push:
branches:
- main
paths:
- "**.py"
- ".github/**"
- "pyproject.toml"
- "requirements*"

defaults:
run:
Expand All @@ -15,7 +23,7 @@ jobs:
strategy:
matrix:
fail-fast: false
python-version: [3.9, 3.12]
python-version: [3.9, 3.13]

env:
OS: ${{ matrix.os }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test_pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.9, 3.12]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9, 3.13]
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Cache Python dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-tests.txt') }}
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
run: pytest tests/acceptance --cov=rocketpy --cov-append --cov-report=xml

- name: Upload coverage to artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage.xml
Expand All @@ -75,9 +75,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download all coverage reports
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
- name: Upload to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: |
Expand Down
6 changes: 4 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ good-names=FlightPhases,
motor_I_11_derivative_at_t,
M3_forcing,
M3_damping,
CM_to_CDM,
CM_to_CPM,
CDM_to_CPM,
center_of_mass_without_motor_to_CDM,
motor_center_of_dry_mass_to_CDM,
generic_motor_cesaroni_M1520,
Expand Down Expand Up @@ -360,6 +359,9 @@ max-statements=25
# Minimum number of public methods for a class (see R0903).
min-public-methods=0

# Maximum number of positional arguments (see R0917).
max-positional-arguments = 25


[EXCEPTIONS]

Expand Down
38 changes: 32 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"autoDocstring.docstringFormat": "numpy",
"cSpell.enableFiletypes": [
"python",
"jupyter",
"markdown",
"restructuredtext"
],
"cSpell.enabledFileTypes": {
"plaintext": true,
"python": true,
"jupyter": true,
"markdown": true,
"tex": true,
"rst": true
},
"cSpell.language": "en-US",
"cSpell.words": [
"Abdulklech",
Expand Down Expand Up @@ -96,6 +98,7 @@
"Dyllon",
"ECMWF",
"edgecolor",
"EOMs",
"epsabs",
"epsrel",
"eqsv",
Expand Down Expand Up @@ -132,11 +135,14 @@
"github",
"Glauert",
"gmaps",
"Gnss",
"Gomes",
"Gonçalvez",
"grav",
"Guilherme",
"Haim",
"headlength",
"headwidth",
"hemis",
"hgtprs",
"hgtsfc",
Expand All @@ -148,6 +154,7 @@
"ICONEU",
"idxmax",
"IGRA",
"Ilya",
"imageio",
"imread",
"imshow",
Expand All @@ -156,16 +163,21 @@
"Interquartile",
"intp",
"ipynb",
"ipython",
"ipywidgets",
"isbijective",
"isin",
"isort",
"ivar",
"jsonpickle",
"Junqueira",
"jupyter",
"Kaleb",
"Karman",
"Krasser",
"labelrotation",
"linalg",
"Lince",
"linestyle",
"linewidth",
"linspace",
Expand Down Expand Up @@ -213,6 +225,7 @@
"noaaruc",
"noaarucsounding",
"num2pydate",
"numericalunits",
"numfig",
"numpy",
"numref",
Expand All @@ -222,20 +235,27 @@
"polystyle",
"powerseries",
"Prandtl",
"pressurant",
"prettytable",
"Projeto",
"prometheus",
"pydata",
"pylint",
"PYPI",
"pyplot",
"pyproject",
"pytest",
"pytz",
"quantile",
"Radau",
"Rdot",
"referece",
"relativetoground",
"repr",
"reversesort",
"reynolds",
"rightarrow",
"rmul",
"ROABs",
"rocketpy",
"rocketusage",
Expand All @@ -249,10 +269,12 @@
"SBMT",
"scilimits",
"searchsorted",
"seblm",
"seealso",
"setrail",
"simplekml",
"SIRGAS",
"Sobol",
"solidmotor",
"somgl",
"Somigliana",
Expand All @@ -261,9 +283,12 @@
"SRTM",
"SRTMGL",
"Stano",
"statsmodels",
"STFT",
"subintervals",
"suptitle",
"supxlabel",
"supylabel",
"ticklabel",
"timedelta",
"timezonefinder",
Expand All @@ -281,6 +306,7 @@
"Unidimensional",
"USGS",
"uwyo",
"valetudo",
"vectorize",
"vgrdprs",
"viewcode",
Expand Down
Loading

0 comments on commit 00d9d02

Please sign in to comment.