Skip to content

Commit e43a0da

Browse files
committed
remove backup ~ files
1 parent 1560675 commit e43a0da

29 files changed

+5071
-5072
lines changed

..zenodo.json.un~

-523 Bytes
Binary file not shown.

.git_archival.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ref-names: $Format:%D$
1+
ref-names: $Format:%D$

.gitattributes

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Interpret Jupyter notebooks as Python
2-
*.ipynb linguist-language=Python
3-
4-
# For automatic versioning via setuptools_scm_git_archive
5-
.git_archival.txt export-subst
1+
# Interpret Jupyter notebooks as Python
2+
*.ipynb linguist-language=Python
3+
4+
# For automatic versioning via setuptools_scm_git_archive
5+
.git_archival.txt export-subst

.github/workflows/draft-pdf.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
on: [push]
2-
3-
jobs:
4-
paper:
5-
runs-on: ubuntu-latest
6-
name: Paper Draft
7-
steps:
8-
- name: Checkout
9-
uses: actions/checkout@v3
10-
- name: Build draft PDF
11-
uses: openjournals/openjournals-draft-action@master
12-
with:
13-
journal: joss
14-
# This should be the path to the paper within your repo.
15-
paper-path: docs/JOSS/paper.md
16-
- name: Upload
17-
uses: actions/upload-artifact@v1
18-
with:
19-
name: paper
20-
# This is the output path where Pandoc will write the compiled
21-
# PDF. Note, this should be the same directory as the input
22-
# paper.md
1+
on: [push]
2+
3+
jobs:
4+
paper:
5+
runs-on: ubuntu-latest
6+
name: Paper Draft
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v3
10+
- name: Build draft PDF
11+
uses: openjournals/openjournals-draft-action@master
12+
with:
13+
journal: joss
14+
# This should be the path to the paper within your repo.
15+
paper-path: docs/JOSS/paper.md
16+
- name: Upload
17+
uses: actions/upload-artifact@v1
18+
with:
19+
name: paper
20+
# This is the output path where Pandoc will write the compiled
21+
# PDF. Note, this should be the same directory as the input
22+
# paper.md
2323
path: docs/JOSS/paper.pdf

.github/workflows/run-tests.yml

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
1-
name: Tests
2-
3-
on: [push, pull_request]
4-
5-
jobs:
6-
Linting:
7-
runs-on: ubuntu-latest
8-
9-
steps:
10-
- uses: actions/checkout@v3
11-
- name: Set up Python 3.10.13
12-
uses: actions/setup-python@v3
13-
with:
14-
python-version: 3.10.13
15-
- name: Linting
16-
run: |
17-
pip install pre-commit
18-
pre-commit run --all-files
19-
Linux:
20-
needs: Linting
21-
runs-on: ubuntu-latest
22-
strategy:
23-
max-parallel: 8
24-
matrix:
25-
python-version: [3.10.13]
26-
27-
steps:
28-
- uses: actions/checkout@v3
29-
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v3
31-
with:
32-
python-version: ${{ matrix.python-version }}
33-
- name: Install dependencies
34-
run: |
35-
pip install -e .[dev]
36-
# pip install -r requirements-dev.txt
37-
- name: Test with pytest
38-
run: |
39-
py.test test
40-
- name: Generate coverage report
41-
run: |
42-
pip install pytest==7.4.4
43-
pip install pytest-cov==4.1.0
44-
pytest --cov=./ --cov-report=xml
45-
- name: Upload coverage reports to Codecov
46-
uses: codecov/codecov-action@v3
47-
48-
# - uses: actions/cache@v1
49-
# with:
50-
# path: ~/.cache/pip
51-
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }}
52-
# restore-keys: |
53-
# ${{ runner.os }}-pip-
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
Linting:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
- name: Set up Python 3.10.13
12+
uses: actions/setup-python@v3
13+
with:
14+
python-version: 3.10.13
15+
- name: Linting
16+
run: |
17+
pip install pre-commit
18+
pre-commit run --all-files
19+
Linux:
20+
needs: Linting
21+
runs-on: ubuntu-latest
22+
strategy:
23+
max-parallel: 8
24+
matrix:
25+
python-version: [3.10.13]
26+
27+
steps:
28+
- uses: actions/checkout@v3
29+
- name: Set up Python ${{ matrix.python-version }}
30+
uses: actions/setup-python@v3
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
- name: Install dependencies
34+
run: |
35+
pip install -e .[dev]
36+
# pip install -r requirements-dev.txt
37+
- name: Test with pytest
38+
run: |
39+
py.test test
40+
- name: Generate coverage report
41+
run: |
42+
pip install pytest==7.4.4
43+
pip install pytest-cov==4.1.0
44+
pytest --cov=./ --cov-report=xml
45+
- name: Upload coverage reports to Codecov
46+
uses: codecov/codecov-action@v3
47+
48+
# - uses: actions/cache@v1
49+
# with:
50+
# path: ~/.cache/pip
51+
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements-dev.txt') }}
52+
# restore-keys: |
53+
# ${{ runner.os }}-pip-

.gitignore

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,41 @@
1-
build
2-
dist
3-
*.egg-info
4-
# automatically generated by setuptools-scm
5-
pysindy/version.py
6-
# sphinx gallery files
7-
docs/examples
8-
# virtual environment
9-
venv
10-
11-
# eggs
12-
.eggs
13-
14-
dev
15-
16-
**/*cache*
17-
18-
.coverage
19-
coverage.xml
20-
21-
.idea
22-
23-
docs/api
24-
docs/_build
25-
26-
.ipynb_checkpoints
27-
*/.ipynb_checkpoints/*
28-
*/lightning_logs/*
29-
lightning_logs
30-
.DS_Store
31-
.vscode
32-
33-
*.pyc
34-
35-
*.sublime*
36-
37-
Pipfile
38-
Pipfile.lock
39-
/htmlcov/
1+
build
2+
dist
3+
*.egg-info
4+
# automatically generated by setuptools-scm
5+
pysindy/version.py
6+
# sphinx gallery files
7+
docs/examples
8+
# virtual environment
9+
venv
10+
11+
# eggs
12+
.eggs
13+
14+
dev
15+
16+
**/*cache*
17+
18+
.coverage
19+
coverage.xml
20+
21+
.idea
22+
23+
docs/api
24+
docs/_build
25+
26+
.ipynb_checkpoints
27+
*/.ipynb_checkpoints/*
28+
*/lightning_logs/*
29+
lightning_logs
30+
.DS_Store
31+
.vscode
32+
33+
*.pyc
34+
35+
*.sublime*
36+
37+
Pipfile
38+
Pipfile.lock
39+
/htmlcov/
40+
41+
*~

.pre-commit-config.yaml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
# Settings for pre-commit
2-
fail_fast: false
3-
repos:
4-
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.3.0
6-
hooks:
7-
- id: check-added-large-files
8-
args: ["--maxkb=102400"]
9-
- id: check-merge-conflict
10-
- id: trailing-whitespace
11-
- id: end-of-file-fixer
12-
- repo: https://github.com/asottile/reorder_python_imports
13-
rev: v3.9.0
14-
hooks:
15-
- id: reorder-python-imports
16-
exclude: ^(pre_commit/resources/|testing/resources/python3_hooks_repo/)
17-
args: [--py37-plus, --add-import, 'from __future__ import annotations']
18-
- repo: https://github.com/ambv/black
19-
rev: 22.8.0
20-
hooks:
21-
- id: black
22-
- repo: https://github.com/PyCQA/flake8
23-
rev: 5.0.4
24-
hooks:
25-
- id: flake8
26-
args: ["--config=setup.cfg"]
1+
# Settings for pre-commit
2+
fail_fast: false
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v4.3.0
6+
hooks:
7+
- id: check-added-large-files
8+
args: ["--maxkb=102400"]
9+
- id: check-merge-conflict
10+
- id: trailing-whitespace
11+
- id: end-of-file-fixer
12+
- repo: https://github.com/asottile/reorder_python_imports
13+
rev: v3.9.0
14+
hooks:
15+
- id: reorder-python-imports
16+
exclude: ^(pre_commit/resources/|testing/resources/python3_hooks_repo/)
17+
args: [--py37-plus, --add-import, 'from __future__ import annotations']
18+
- repo: https://github.com/ambv/black
19+
rev: 22.8.0
20+
hooks:
21+
- id: black
22+
- repo: https://github.com/PyCQA/flake8
23+
rev: 5.0.4
24+
hooks:
25+
- id: flake8
26+
args: ["--config=setup.cfg"]

.readthedocs.yaml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
# .readthedocs.yaml
2-
# Read the Docs configuration file
3-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4-
5-
# Required
6-
version: 2
7-
8-
# Set the version of Python and other tools you might need
9-
build:
10-
os: ubuntu-22.04
11-
tools:
12-
python: "3.10"
13-
# You can also specify other tool versions:
14-
# nodejs: "19"
15-
# rust: "1.64"
16-
# golang: "1.19"
17-
18-
# Build documentation in the docs/ directory with Sphinx
19-
sphinx:
20-
configuration: docs/conf.py
21-
22-
# If using Sphinx, optionally build your docs in additional formats such as PDF
23-
# formats:
24-
# - pdf
25-
26-
# Optionally declare the Python requirements required to build your docs
27-
#python:
28-
# install:
29-
# - requirements: requirements-dev.txt
30-
# - method: pip
31-
# path: .
32-
python:
33-
install:
34-
- method: pip
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.10"
13+
# You can also specify other tool versions:
14+
# nodejs: "19"
15+
# rust: "1.64"
16+
# golang: "1.19"
17+
18+
# Build documentation in the docs/ directory with Sphinx
19+
sphinx:
20+
configuration: docs/conf.py
21+
22+
# If using Sphinx, optionally build your docs in additional formats such as PDF
23+
# formats:
24+
# - pdf
25+
26+
# Optionally declare the Python requirements required to build your docs
27+
#python:
28+
# install:
29+
# - requirements: requirements-dev.txt
30+
# - method: pip
31+
# path: .
32+
python:
33+
install:
34+
- method: pip
3535
path: .[dev]

.requirements-torch.txt.un~

-1.36 KB
Binary file not shown.

0 commit comments

Comments
 (0)