Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: no-commit-to-branch
args: ['--branch', 'master']
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: fix-encoding-pragma
args: [--remove]
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: no-commit-to-branch
args: ["--branch", "master"]
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: fix-encoding-pragma
args: [--remove]
- id: mixed-line-ending
- id: trailing-whitespace

- repo: https://github.com/ambv/black
rev: 20.8b1
hooks:
- id: black
- repo: https://github.com/ambv/black
rev: 23.3.0
hooks:
- id: black

- repo: https://gitlab.com/pycqa/flake8.git
rev: 3.8.4
hooks:
- id: flake8
- repo: https://github.com/pycqa/flake8.git
rev: 6.0.0
hooks:
- id: flake8

- repo: https://github.com/pre-commit/mirrors-mypy
rev: ''
hooks:
- id: mypy
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.2.0"
hooks:
- id: mypy

- repo: https://github.com/pycqa/isort
rev: 5.6.4
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
10 changes: 2 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
.. image:: https://img.shields.io/github/workflow/status/equinor/subscript/subscript
:target: https://github.com/equinor/subscript/actions?query=workflow%3Asubscript

.. image:: https://img.shields.io/lgtm/alerts/g/equinor/subscript.svg?logo=lgtm&logoWidth=18
:target: https://lgtm.com/projects/g/equinor/subscript/alerts/
.. image:: https://github.com/equinor/subscript/actions/workflows/subscript.yml/badge.svg
:target: https://github.com/equinor/subscript/actions/workflows/subscript.yml?query=workflow%3Asubscript

.. image:: https://codecov.io/gh/equinor/subscript/branch/master/graph/badge.svg
:target: https://codecov.io/gh/equinor/subscript

.. image:: https://img.shields.io/lgtm/grade/python/g/equinor/subscript.svg?logo=lgtm&logoWidth=18
:target: https://lgtm.com/projects/g/equinor/subscript/context:python

.. image:: https://img.shields.io/badge/python-3.6%20|%203.7%20|%203.8%20|%203.9-blue.svg
:target: https://www.python.org

Expand Down