diff options
author | Andrea Censi <acensi@ethz.ch> | 2021-10-15 23:34:01 +0200 |
---|---|---|
committer | Andrea Censi <acensi@ethz.ch> | 2021-10-15 23:34:01 +0200 |
commit | da27223101363053a496e26842ade1432ddcd6c8 (patch) | |
tree | c01826859a05eee083c8e292640c9cdb001ce7cc | |
parent | Bump to version 7.1.2110151556 (diff) | |
download | act4e-da27223101363053a496e26842ade1432ddcd6c8.tar.gz act4e-da27223101363053a496e26842ade1432ddcd6c8.zip |
templates
-rw-r--r-- | .pre-commit-config.yaml | 42 | ||||
-rw-r--r-- | MANIFEST.in | 23 | ||||
-rw-r--r-- | setup.json | 2 |
3 files changed, 66 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..d373e7a --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,42 @@ +--- +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.4.0 + hooks: + - id: check-added-large-files + - id: check-case-conflict + - id: check-executables-have-shebangs + - id: check-merge-conflict + - id: check-symlinks +# - id: trailing-whitespace +# - id: end-of-file-fixer +# - id: check-yaml +# - id: check-json +# - id: check-docstring-first +# - id: flake8 +# args: [--max-line-length=100] +- repo: https://github.com/psf/black + rev: 20.8b1 + hooks: + - id: black + language_version: python3.8 + args: [-l, '110'] +#- repo: https://github.com/adrienverge/yamllint.git +# rev: v1.26.1 # or higher tag +# hooks: +# - id: yamllint +# args: [--format, parsable] +- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt + rev: 0.1.0 # or specific tag + hooks: + - id: yamlfmt + args: [--mapping, '2', --sequence, '2', --offset, '0', --width, '150', --preserve-quotes] + +# args: [--mapping, '2', --sequence, '0', --offset, '0', --width, '150'] + + +#exclude: .bumpversion.cfg + +files: (^src/.*py)|(.*yaml) + +# sigil 3d9109598d23dfbb339c65e4dae064bd diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..dc1dc93 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,23 @@ +#@ These are autogenerated. Add local stuff in the next section. + +include setup.json +exclude project.pp1.yaml +exclude Makefile* +exclude Dockerfile* +exclude *.mk +exclude requirements*txt +exclude MANIFEST.in +exclude README* +exclude LICENSE* +prune .* +exclude .* +exclude src/conf.py +recursive-exclude src *.rst +recursive-exclude src *.less +recursive-include src *.css +recursive-include src *.sql +prune src/**/__pycache__ +prune src/*_tests* +prune out + +#@ add local below @@ -11,7 +11,7 @@ "modules": [ "act4e_solutions" ], - "version": "7.1.2110151556", + "version": "0.1", "author": "", "author_email": "", "url": "" |