Skip to content

Commit ddae08e

Browse files
committed
ruff: format with ruff 0.3.0
1 parent 6023816 commit ddae08e

35 files changed

+37
-4
lines changed

conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
See "pytest_plugins in non-top-level conftest files" in
88
https://docs.pytest.org/en/stable/deprecations.html
99
"""
10+
1011
import pathlib
1112
import shutil
1213
import typing as t

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# flake8: NOQA: E501
22
"""Sphinx configuration for libtmux."""
3+
34
import contextlib
45
import inspect
56
import pathlib

src/libtmux/__about__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Metadata package for libtmux."""
2+
23
__title__ = "libtmux"
34
__package_name__ = "libtmux"
45
__version__ = "0.31.0post0"

src/libtmux/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""libtmux, a typed, pythonic API wrapper for the tmux terminal multiplexer."""
2+
23
from .__about__ import (
34
__author__,
45
__copyright__,

src/libtmux/_internal/dataclasses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
----
55
This is an internal API not covered by versioning policy.
66
"""
7+
78
import dataclasses
89
import typing as t
910
from operator import attrgetter

src/libtmux/_internal/query_list.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
----
55
This is an internal API not covered by versioning policy.
66
"""
7+
78
import re
89
import traceback
910
import typing as t

src/libtmux/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
~~~~~~~~~~~~~~
55
66
"""
7+
78
import logging
89
import re
910
import shutil

src/libtmux/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Constant variables for libtmux."""
2+
23
import enum
34
import typing as t
45

src/libtmux/exc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
~~~~~~~~~~~
55
66
"""
7+
78
import typing as t
89

910
from libtmux._internal.query_list import ObjectDoesNotExist

src/libtmux/formats.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
For reference: https://github.com/tmux/tmux/blob/master/format.c
77
88
"""
9+
910
import os
1011

1112
FORMAT_SEPARATOR = os.environ.get("LIBTMUX_TMUX_FORMAT_SEPARATOR", "␞")

0 commit comments

Comments
 (0)