Skip to content

Commit 1ae13ef

Browse files
committed
Bump dependencies
Signed-off-by: Bernát Gábor <[email protected]>
1 parent bd89aab commit 1ae13ef

File tree

7 files changed

+48
-22
lines changed

7 files changed

+48
-22
lines changed

.github/SECURITY.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
## Supported Versions
44

5-
| Version | Supported |
6-
| -------- | ------------------ |
7-
| 1.18 + | :white_check_mark: |
8-
| < 1.18 | :x: |
5+
| Version | Supported |
6+
| ------- | ------------------ |
7+
| 1.18 + | :white_check_mark: |
8+
| < 1.18 | :x: |
99

1010
## Reporting a Vulnerability
1111

.markdownlint.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
MD013:
2+
code_blocks: false
3+
headers: false
4+
line_length: 120
5+
tables: false
6+
7+
MD046:
8+
style: fenced

.pre-commit-config.yaml

+25-9
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ repos:
1515
rev: v2.37.3
1616
hooks:
1717
- id: pyupgrade
18-
args: [ "--py37-plus" ]
18+
args: ["--py37-plus"]
1919
exclude: "^(tests/roots/test-dummy/dummy_module.py)$"
2020
- id: pyupgrade
2121
files: "^(tests/roots/test-dummy/dummy_module.py)$"
22-
args: [ "--py36-plus" ]
22+
args: ["--py36-plus"]
2323
- repo: https://github.com/PyCQA/isort
2424
rev: 5.10.1
2525
hooks:
@@ -28,12 +28,12 @@ repos:
2828
rev: 22.8.0
2929
hooks:
3030
- id: black
31-
args: [ --safe ]
31+
args: [--safe]
3232
- repo: https://github.com/asottile/blacken-docs
3333
rev: v1.12.1
3434
hooks:
3535
- id: blacken-docs
36-
additional_dependencies: [ black==22.6 ]
36+
additional_dependencies: [black==22.8]
3737
- repo: https://github.com/pre-commit/pygrep-hooks
3838
rev: v1.9.0
3939
hooks:
@@ -42,21 +42,37 @@ repos:
4242
rev: "0.5.2"
4343
hooks:
4444
- id: tox-ini-fmt
45-
args: [ "-p", "fix" ]
45+
args: ["-p", "fix"]
4646
- repo: https://github.com/asottile/setup-cfg-fmt
4747
rev: v2.0.0
4848
hooks:
4949
- id: setup-cfg-fmt
50-
args: [ --min-py3-version, "3.7", "--max-py-version", "3.10" ]
50+
args: [--min-py3-version, "3.7", "--max-py-version", "3.11"]
5151
- repo: https://github.com/PyCQA/flake8
5252
rev: 5.0.4
5353
hooks:
5454
- id: flake8
5555
additional_dependencies:
56-
- flake8-bugbear==22.7.1
56+
- flake8-bugbear==22.9.11
5757
- flake8-comprehensions==3.10
5858
- flake8-pytest-style==1.6
5959
- flake8-spellcheck==0.28
6060
- flake8-unused-arguments==0.0.11
61-
- flake8-noqa==1.2.8
62-
- pep8-naming==0.13.1
61+
- flake8-noqa==1.2.9
62+
- pep8-naming==0.13.2
63+
- repo: https://github.com/pre-commit/mirrors-prettier
64+
rev: "v2.7.1"
65+
hooks:
66+
- id: prettier
67+
additional_dependencies:
68+
69+
- "@prettier/[email protected]"
70+
args: ["--print-width=120", "--prose-wrap=always"]
71+
- repo: https://github.com/igorshubovych/markdownlint-cli
72+
rev: v0.32.2
73+
hooks:
74+
- id: markdownlint
75+
- repo: meta
76+
hooks:
77+
- id: check-hooks-apply
78+
- id: check-useless-excludes

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ def format_unit(value: Union[float, int], unit: str) -> str:
4141

4242
First, use pip to download and install the extension:
4343

44-
$ pip install sphinx-autodoc-typehints
44+
```bash
45+
pip install sphinx-autodoc-typehints
46+
```
4547

4648
Then, add the extension to your `conf.py`:
4749

@@ -100,8 +102,8 @@ tracker for more information.
100102
Sometimes functions or classes from two different modules need to reference each other in their type annotations. This
101103
creates a circular import problem. The solution to this is the following:
102104

103-
1. Import only the module, not the classes/functions from it
104-
2. Use forward references in the type annotations (e.g. `def methodname(self, param1: 'othermodule.OtherClass'):`)
105+
1. Import only the module, not the classes/functions from it
106+
2. Use forward references in the type annotations (e.g. `def methodname(self, param1: 'othermodule.OtherClass'):`)
105107

106108
On Python 3.7, you can even use `from __future__ import annotations` and remove the quotes.
107109

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=63.4", "setuptools_scm>=7.0.5"]
2+
requires = ["setuptools>=65.3", "setuptools_scm>=7.0.5"]
33
build-backend = 'setuptools.build_meta'
44

55
[tool.black]

setup.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ where = src
3737
[options.extras_require]
3838
testing =
3939
covdefaults>=2.2
40-
coverage>=6.4.2
40+
coverage>=6.4.4
4141
diff-cover>=6.5.1
42-
nptyping>=2.2
43-
pytest>=7.1.2
42+
nptyping>=2.3.1
43+
pytest>=7.1.3
4444
pytest-cov>=3
4545
sphobjinv>=2.2.2
4646
typing-extensions>=4.3

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ setenv =
4747
{tty:MYPY_FORCE_COLOR = 1}
4848
deps =
4949
mypy==0.971
50-
types-docutils>=0.19
50+
types-docutils>=0.19.1
5151
commands =
5252
mypy --python-version 3.10 src
5353
mypy --python-version 3.10 tests
@@ -61,7 +61,7 @@ setenv =
6161
skip_install = true
6262
deps =
6363
covdefaults>=2.2
64-
coverage>=6.4.2
64+
coverage>=6.4.4
6565
diff-cover>=6.5.1
6666
extras =
6767
parallel_show_output = true

0 commit comments

Comments
 (0)