Skip to content

Commit 931cdbd

Browse files
authored
Merge pull request #5 from wakatime/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents d517913 + 6f23de9 commit 931cdbd

File tree

12 files changed

+19
-8
lines changed

12 files changed

+19
-8
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- id: check-toml
2323
- id: check-json
2424
- repo: https://github.com/Lucas-C/pre-commit-hooks
25-
rev: v1.5.4
25+
rev: v1.5.5
2626
hooks:
2727
- id: remove-crlf
2828
- repo: https://github.com/codespell-project/codespell
@@ -46,11 +46,11 @@ repos:
4646
hooks:
4747
- id: check-mailmap
4848
- repo: https://github.com/rhysd/actionlint
49-
rev: v1.6.26
49+
rev: v1.6.27
5050
hooks:
5151
- id: actionlint
5252
- repo: https://github.com/adrienverge/yamllint
53-
rev: v1.33.0
53+
rev: v1.35.1
5454
hooks:
5555
- id: yamllint
5656
- repo: https://github.com/executablebooks/mdformat
@@ -67,7 +67,7 @@ repos:
6767
- mdformat-black
6868
- mdformat-config
6969
- repo: https://github.com/DavidAnson/markdownlint-cli2
70-
rev: v0.10.0
70+
rev: v0.12.1
7171
hooks:
7272
- id: markdownlint-cli2
7373
additional_dependencies:
@@ -78,11 +78,11 @@ repos:
7878
- id: update-CITATION.cff
7979
- id: update-pyproject.toml
8080
- repo: https://github.com/psf/black
81-
rev: 23.11.0
81+
rev: 24.3.0
8282
hooks:
8383
- id: black
8484
- repo: https://github.com/PyCQA/isort
85-
rev: 5.12.0
85+
rev: 5.13.2
8686
hooks:
8787
- id: isort
8888
- repo: https://github.com/pycqa/pydocstyle
@@ -92,11 +92,11 @@ repos:
9292
additional_dependencies:
9393
- tomli
9494
- repo: https://github.com/kumaraditya303/mirrors-pyright
95-
rev: v1.1.335
95+
rev: v1.1.354
9696
hooks:
9797
- id: pyright
9898
- repo: https://github.com/PyCQA/bandit
99-
rev: 1.7.5
99+
rev: 1.7.8
100100
hooks:
101101
- id: bandit
102102
args:

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
https://www.sphinx-doc.org/en/master/usage/configuration.html
44
"""
5+
56
from repl_python_wakatime import __version__ as version # type: ignore
67
from repl_python_wakatime._metainfo import ( # type: ignore
78
author,

src/repl_python_wakatime/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
r"""Provide ``__version__`` for
22
`importlib.metadata.version() <https://docs.python.org/3/library/importlib.metadata.html#distribution-versions>`_.
33
"""
4+
45
try:
56
from ._version import __version__, __version_tuple__ # type: ignore
67
except ImportError: # for setuptools-generate

src/repl_python_wakatime/hooks/codestats.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<https://gitlab.com/code-stats/code-stats-vim/-/blob/master/pythonx/codestats.py>
66
`_.
77
"""
8+
89
import json
910
import logging
1011
import threading

src/repl_python_wakatime/hooks/wakatime.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
Refer `create-plugin <https://wakatime.com/help/creating-plugin>`_.
55
"""
6+
67
import os
78
from subprocess import Popen # nosec: B404
89
from typing import Any, Callable

src/repl_python_wakatime/ipython.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""ipython
22
==========
33
"""
4+
45
from typing import Any, Callable
56

67
from IPython.terminal.interactiveshell import TerminalInteractiveShell

src/repl_python_wakatime/ptpython.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""ptpython
22
===========
33
"""
4+
45
from typing import Any, Callable
56

67
from prompt_toolkit.formatted_text import AnyFormattedText

src/repl_python_wakatime/python.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""python
22
=========
33
"""
4+
45
import sys
56
from typing import Any, Callable
67

src/repl_python_wakatime/utils/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""API
22
======
33
"""
4+
45
import logging
56

67
import keyring

src/repl_python_wakatime/utils/project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Project
22
==========
33
"""
4+
45
import os
56
from typing import Callable
67

0 commit comments

Comments
 (0)