Skip to content

Commit 4b7ec8e

Browse files
committed
OPS: Add version compatibility data for version
1 parent e0d1a83 commit 4b7ec8e

File tree

4 files changed

+3396
-139
lines changed

4 files changed

+3396
-139
lines changed

.pre-commit-config.yaml

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
exclude: 'build|.git/|.tox|dist|octue.egg-info'
1+
exclude: "build|.git/|.tox|dist|octue.egg-info"
22
default_stages: [commit]
33
fail_fast: true
44
default_language_version:
5-
python: python3 # force all unspecified python hooks to run python3
5+
python: python3 # force all unspecified python hooks to run python3
66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
88
rev: v4.3.0
@@ -21,55 +21,60 @@ repos:
2121
rev: 22.6.0
2222
hooks:
2323
- id: black
24-
args: ['--line-length', '120']
24+
args: ["--line-length", "120"]
2525

2626
- repo: https://gitlab.com/pycqa/flake8
2727
rev: 3.9.2
2828
hooks:
2929
- id: flake8
3030
language_version: python3
3131
additional_dependencies:
32-
- 'pep8-naming'
32+
- "pep8-naming"
3333
args:
3434
- --ignore-names=setUp,tearDown,setUpClass,tearDownClass,asyncSetUp,asyncTearDown,setUpTestData,failureException,longMessage,maxDiff,startTestRun,stopTestRun
3535

36+
- repo: https://github.com/pre-commit/mirrors-prettier
37+
rev: v2.7.1
38+
hooks:
39+
- id: prettier
40+
3641
- repo: https://github.com/pycqa/pydocstyle
3742
rev: 6.1.1
3843
hooks:
39-
- id: pydocstyle
44+
- id: pydocstyle
4045

4146
- repo: https://github.com/thclark/pre-commit-sphinx
4247
rev: 0.0.3
4348
hooks:
4449
- id: build-docs
4550
language_version: python3
4651
additional_dependencies:
47-
- 'poetry==1.2.0b2'
48-
- 'Sphinx>=4,<5'
49-
- 'sphinx-rtd-theme>=1,<2'
50-
- 'sphinx-tabs>=3,<4'
51-
- 'sphinx-toolbox==3.0.0'
52-
- 'git+https://github.com/octue/octue-sdk-python.git@main'
52+
- "poetry==1.2.0b2"
53+
- "Sphinx>=4,<5"
54+
- "sphinx-rtd-theme>=1,<2"
55+
- "sphinx-tabs>=3,<4"
56+
- "sphinx-toolbox==3.0.0"
57+
- "git+https://github.com/octue/octue-sdk-python.git@main"
5358

5459
- repo: https://github.com/windpioneers/pre-commit-hooks
5560
rev: 0.0.5
5661
hooks:
5762
- id: check-branch-name
5863
args:
59-
- '^main$'
60-
- '^development$'
61-
- '^devops/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
62-
- '^doc/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
63-
- '^feature/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
64-
- '^enhancement/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
65-
- '^fix/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
66-
- '^hotfix/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
67-
- '^review/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
68-
- '^refactor/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
69-
- '^test/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
70-
- '^style/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
71-
- '^deprecation/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
72-
- '^dependencies/([a-z][a-z0-9]*)(-[a-z0-9]+)*$'
64+
- "^main$"
65+
- "^development$"
66+
- "^devops/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
67+
- "^doc/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
68+
- "^feature/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
69+
- "^enhancement/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
70+
- "^fix/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
71+
- "^hotfix/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
72+
- "^review/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
73+
- "^refactor/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
74+
- "^test/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
75+
- "^style/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
76+
- "^deprecation/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
77+
- "^dependencies/([a-z][a-z0-9]*)(-[a-z0-9]+)*$"
7378

7479
- repo: https://github.com/octue/conventional-commits
7580
rev: 0.8.1

0 commit comments

Comments
 (0)