Browse Source

Add some things for dev

pull/1/head
Dashie der otter 1 year ago
parent
commit
bf8dba198b
3 changed files with 25 additions and 0 deletions
  1. 3
    0
      .isort.cfg
  2. 13
    0
      .pre-commit-config.yaml
  3. 9
    0
      pyproject.toml

+ 3
- 0
.isort.cfg View File

@@ -0,0 +1,3 @@
[settings]
line_length=120
force_single_line=true

+ 13
- 0
.pre-commit-config.yaml View File

@@ -0,0 +1,13 @@
repos:
- repo: local
hooks:
- id: black
name: black
language: system
entry: python3 -m black
types: [python]
- id: flake8
name: flake8
language: system
entry: flake8
types: [python]

+ 9
- 0
pyproject.toml View File

@@ -0,0 +1,9 @@
[tool.black]
exclude = '''
/(
\.git
| \.eggs
| \.idea
| \__pycache__
)/
'''

Loading…
Cancel
Save