Skip to content

Commit

Permalink
MAINT: apply new black formatting
Browse files Browse the repository at this point in the history
Adds a newline between the module docstring and thre rest of the code
  • Loading branch information
redeboer committed Nov 7, 2023
1 parent 8adf67c commit 6a5885a
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/citation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Check citation files."""

import json
import os
from textwrap import dedent
Expand Down
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/commitlint.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
See https://github.com/ComPWA/repo-maintenance/issues/177.
"""

import os

from repoma.errors import PrecommitError
Expand Down
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/github_workflows.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Check :file:`.github/workflows` folder content."""

import os
import re
import shutil
Expand Down
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/mypy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Check and update :code:`mypy` settings."""

import os

import tomlkit
Expand Down
1 change: 0 additions & 1 deletion src/repoma/check_dev_files/nbstripout.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Check the nbstripout hook in the pre-commit config."""


from ruamel.yaml.comments import CommentedMap
from ruamel.yaml.scalarstring import LiteralScalarString

Expand Down
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/precommit.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Check content of :code:`.pre-commit-config.yaml` and related files."""

from textwrap import dedent
from typing import List, Set

Expand Down
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/pyright.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Check and update :code:`mypy` settings."""

import json
import os
from typing import TYPE_CHECKING, Optional
Expand Down
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/pytest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Check and update :code:`pytest` settings."""

import os
from typing import Dict

Expand Down
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/release_drafter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Update Release Drafter Action."""

import os
from typing import Any, Dict

Expand Down
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/setup_cfg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Apply a certain set of standards to the :file:`setup.cfg`."""

# pyright: reportUnknownLambdaType=false
import dataclasses
import os
Expand Down
1 change: 1 addition & 0 deletions src/repoma/check_dev_files/toml.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Configuration for working with TOML files."""

import os
import shutil
from glob import glob
Expand Down
1 change: 0 additions & 1 deletion src/repoma/errors.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Exceptions that are caught by a pre-commit hook and printed instead."""


class PrecommitError(RuntimeError):
pass
1 change: 1 addition & 0 deletions src/repoma/self_check.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Checks to be performed locally on the ComPWA/repo-maintenance repository."""

from functools import lru_cache
from io import StringIO
from textwrap import dedent, indent
Expand Down
1 change: 1 addition & 0 deletions src/repoma/utilities/pyproject.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tools for loading, inspecting, and updating :code:`pyproject.toml`."""

import os
from typing import Any, Iterable, Optional

Expand Down

0 comments on commit 6a5885a

Please sign in to comment.