diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0c08d1d9..b1448800 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ # See https://pre-commit.com for more information repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.3.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer diff --git a/gprMax.toml b/gprMax.toml index d792e535..ae219ea9 100644 --- a/gprMax.toml +++ b/gprMax.toml @@ -2,3 +2,9 @@ requires = ['setuptools', 'wheel', 'numpy>=1.19.0', 'Cython>=0.29.21', 'jinja2'] build-backend = "setuptools.build_meta" + +[tool.black] +line-length = 120 + +[tool.isort] +profile = "black"