-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
714 changed files
with
30,374 additions
and
15,703 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: learn-github-actions | ||
run-name: ${{ github.actor }} is learning GitHub Actions | ||
on: [push] | ||
jobs: | ||
check-bats-version: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '14' | ||
- run: npm install -g bats | ||
- run: bats -v |
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,25 @@ | ||
name: Pylint | ||
run-name: ${{ github.actor }} is linting the code | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pylint | ||
- name: Analysing the code with pylint | ||
run: | | ||
# pylint $(git ls-files '*.py') | ||
git ls-files '*.py' |
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,11 @@ | ||
- id: autoflake | ||
name: autoflake | ||
entry: autoflake | ||
language: python | ||
"types": [python] | ||
require_serial: true | ||
args: | ||
- "--in-place" | ||
- "--expand-star-imports" | ||
- "--remove-duplicate-keys" | ||
- "--remove-unused-variables" |
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,47 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.4.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 21.12b0 | ||
hooks: | ||
- id: black | ||
|
||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
|
||
# - repo: https://github.com/PyCQA/pylint | ||
# rev: 2.11.1 | ||
# hooks: | ||
# - id: pylint | ||
# args: [src/irrevolutions/*.py] | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
# Ruff version. | ||
rev: v0.3.2 | ||
hooks: | ||
# Run the linter. | ||
- id: ruff | ||
args: [ --fix ] | ||
# Run the formatter. | ||
- id: ruff-format | ||
|
||
- repo: https://github.com/myint/autoflake | ||
rev: v2.3.1 | ||
hooks: | ||
- id: autoflake | ||
additional_dependencies: [autoflake==1.8.0] | ||
args: [--remove-all-unused-imports, --remove-unused-variables, --in-place, src/irrevolutions/*.py] | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 21.12b0 | ||
hooks: | ||
- id: black | ||
language_version: python3 |
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,37 @@ | ||
# This CITATION.cff file was generated with cffinit. | ||
# Visit https://bit.ly/cffinit to generate yours today! | ||
|
||
cff-version: 1.2.0 | ||
title: Variational Solvers for Irreversible Evolutionary Systems | ||
message: >- | ||
Three solvers for irreversible evolutionary processes with | ||
a general energetic notion of stability. | ||
type: software | ||
authors: | ||
- given-names: Andrés A | ||
family-names: León Baldelli | ||
email: [email protected] | ||
affiliation: '∂’Alembert Institute, CNRS, Sorbonne Universités' | ||
orcid: 'https://orcid.org/0000-0002-3019-602X' | ||
repository-code: 'https://github.com/kumiori/mec647/' | ||
url: 'https://irreversible-variational-solvers.readthedocs.io/' | ||
abstract: >- | ||
To study irreversible evolutionary processes with a | ||
general energetic notion of stability, three nonlinear | ||
variational solvers are modular components that address | ||
mathematical problems that are general enough to apply, in | ||
principle, to systems with instabilities, jumps, and | ||
emergence of patterns which is commonplace in diverse | ||
arenas spanning from quantum to continuum mechanics, | ||
economy, social sciences, and ecology. Our motivation | ||
proceeds from fracture mechanics, with the ultimate goal | ||
of deploying a transparent numerical platform for | ||
scientific validation and prediction of large scale | ||
natural fracture phenomena. | ||
keywords: | ||
- stability | ||
- bifurcation | ||
- irreversibility | ||
- singular perturbations | ||
- fracture | ||
license: GPL-3.0 |
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 was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Oops, something went wrong.