Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 19, 2024
1 parent aa38673 commit b44006d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
https://www.sphinx-doc.org/en/master/usage/configuration.html
"""

from repl_python_wakatime import __version__ as version # type: ignore
from repl_python_wakatime._metainfo import ( # type: ignore
author,
Expand Down
1 change: 1 addition & 0 deletions src/repl_python_wakatime/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
r"""Provide ``__version__`` for
`importlib.metadata.version() <https://docs.python.org/3/library/importlib.metadata.html#distribution-versions>`_.
"""

try:
from ._version import __version__, __version_tuple__ # type: ignore
except ImportError: # for setuptools-generate
Expand Down
1 change: 1 addition & 0 deletions src/repl_python_wakatime/hooks/codestats.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<https://gitlab.com/code-stats/code-stats-vim/-/blob/master/pythonx/codestats.py>
`_.
"""

import json
import logging
import threading
Expand Down
1 change: 1 addition & 0 deletions src/repl_python_wakatime/hooks/wakatime.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Refer `create-plugin <https://wakatime.com/help/creating-plugin>`_.
"""

import os
from subprocess import Popen # nosec: B404
from typing import Any, Callable
Expand Down
1 change: 1 addition & 0 deletions src/repl_python_wakatime/ipython.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""ipython
==========
"""

from typing import Any, Callable

from IPython.terminal.interactiveshell import TerminalInteractiveShell
Expand Down
1 change: 1 addition & 0 deletions src/repl_python_wakatime/ptpython.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""ptpython
===========
"""

from typing import Any, Callable

from prompt_toolkit.formatted_text import AnyFormattedText
Expand Down
1 change: 1 addition & 0 deletions src/repl_python_wakatime/python.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""python
=========
"""

import sys
from typing import Any, Callable

Expand Down
1 change: 1 addition & 0 deletions src/repl_python_wakatime/utils/api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""API
======
"""

import logging

import keyring
Expand Down
1 change: 1 addition & 0 deletions src/repl_python_wakatime/utils/project.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Project
==========
"""

import os
from typing import Callable

Expand Down
1 change: 1 addition & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
r"""Test API
============
"""

import pytest

from repl_python_wakatime.hooks.codestats import CodeStats
Expand Down
1 change: 1 addition & 0 deletions tests/test_project.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Test Project
===============
"""

import os
from pathlib import Path

Expand Down

0 comments on commit b44006d

Please sign in to comment.