Skip to content

Commit a95a1f3

Browse files
committed
[isort]: Use one blank line after imports in typing stub files (#9971)
1 parent 9aa6a4b commit a95a1f3

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}/docs/scripts/coverage_status.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Mkdocs hook to run tests with coverage collection and generate a badge."""
2+
23
import logging
34
from io import StringIO
45
from pathlib import Path

src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}/src/{{ cookiecutter.project_package }}/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Top level module of the project."""
2+
23
from importlib.metadata import version
34
from typing import Final
45

src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}/src/{{ cookiecutter.project_package }}/lib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
This module can be used directly, or the functionality can be
44
exposed using some other interface, such as CLI, GUI or an API.
55
"""
6+
67
from enum import Enum
78

89

src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}/tests/test_cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests for the CLI."""
2+
23
import pytest
34
from hypothesis import given
45
from hypothesis import strategies as st

src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}/tests/test_lib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Test for core library."""
2+
23
import pytest
34
from hypothesis import assume, given
45
from hypothesis import strategies as st

0 commit comments

Comments
 (0)