Skip to content

Commit

Permalink
chore(statys): Adds pre-commit hooks and annotated typing.
Browse files Browse the repository at this point in the history
  • Loading branch information
gugarosa committed Apr 19, 2022
1 parent 4292989 commit 0efac10
Show file tree
Hide file tree
Showing 31 changed files with 635 additions and 1,030 deletions.
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"
assignees:
- "gugarosa"
labels:
- "dependencies"

- package-ecosystem: "pip"
directory: "/docs/"
schedule:
interval: "monthly"
assignees:
- "gugarosa"
labels:
- "docs"
- "dependencies"
25 changes: 25 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: check-added-large-files
args: ['--maxkb=1000']
- id: check-case-conflict
- id: check-docstring-first
- id: check-merge-conflict
- id: check-yaml
- id: detect-private-key
- id: trailing-whitespace
- id: requirements-txt-fixer
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
Loading

0 comments on commit 0efac10

Please sign in to comment.