Skip to content

Commit

Permalink
Merge branch 'develop-white' into feature/exposures_crs
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuel-schmid committed Oct 20, 2024
2 parents 4a7c65c + bc60010 commit 7c13bc9
Show file tree
Hide file tree
Showing 6 changed files with 369 additions and 86 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,10 @@ data/ISIMIP_crop/

# climada data results folder:
results/

# Hidden files we want to track
!.gitignore
!.pre-commit-config.yaml
!.pylintrc
!.readthedocs.yml
!.github
23 changes: 23 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://pre-commit.com for more information
default_language_version:
python: python3

# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/pycqa/isort
rev: '5.13.2'
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]

# Using this mirror lets us use mypyc-compiled black, which is about 2x faster
- repo: https://github.com/psf/black-pre-commit-mirror
rev: '24.4.2'
hooks:
- id: black-jupyter
Loading

0 comments on commit 7c13bc9

Please sign in to comment.