Skip to content

Commit 6f23de9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 00185fc commit 6f23de9

File tree

11 files changed

+11
-0
lines changed

11 files changed

+11
-0
lines changed

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

tests/test_api.py

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

67
from repl_python_wakatime.hooks.codestats import CodeStats

0 commit comments

Comments
 (0)