diff --git a/.gitignore b/.gitignore index 257eaca..f3a0ff7 100644 --- a/.gitignore +++ b/.gitignore @@ -191,7 +191,6 @@ FANS run.sh *.h5 data_gen/ -*.json # Test microstructure files @@ -201,4 +200,4 @@ data_gen/ !test_LinearElasticIsotropic.json !test_LinearThermalIsotropic.json !test_PseudoPlasticLinearHardening.json -!test_VonMisesPlasticLinearIsotropicHardening.json \ No newline at end of file +!test_VonMisesPlasticLinearIsotropicHardening.json diff --git a/.markdown-link-check-config.json b/.markdown-link-check-config.json new file mode 100644 index 0000000..b539fcd --- /dev/null +++ b/.markdown-link-check-config.json @@ -0,0 +1,8 @@ +{ + "aliveStatusCodes": [429, 200], + "ignorePatterns": [ + { + "pattern": "*.html" + } + ] +} diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..979cb28 --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,5 @@ +{ + "MD013": false, + "MD033": false, + "MD034": false +} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..8e06604 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,21 @@ +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v2.3.0 + hooks: + - id: check-xml + - id: check-merge-conflict + - id: mixed-line-ending + - id: end-of-file-fixer + - id: trailing-whitespace +# black repo for python formatting +- repo: https://github.com/ambv/black + rev: 22.12.0 + hooks: + - id: black +- repo: https://github.com/precice/precice-pre-commit-hooks + rev: 'v3.3' + hooks: + - id: format-precice-config + files: "^.*/precice-config.xml" + - id: check-image-prefix + args: [ --prefix=docs-tooling-micro-manager- ]