Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fbe26c9

Browse files
committed
style: reformat
1 parent 155398e commit fbe26c9

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

‎commitizen/changelog.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
Options:
1919
- Generate full or partial changelog
2020
"""
21-
from typing import Generator, List, Dict, Iterable
2221
import re
22+
from typing import Dict, Generator, Iterable, List
2323

2424
MD_VERSION_RE = r"^##\s(?P<version>[a-zA-Z0-9.+]+)\s?\(?(?P<date>[0-9-]+)?\)?"
2525
MD_CATEGORY_RE = r"^###\s(?P<category>[a-zA-Z0-9.+\s]+)"

‎commitizen/commands/__init__.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from .bump import Bump
2+
from .changelog import Changelog
23
from .check import Check
34
from .commit import Commit
45
from .example import Example
@@ -7,9 +8,6 @@
78
from .list_cz import ListCz
89
from .schema import Schema
910
from .version import Version
10-
from .init import Init
11-
from .changelog import Changelog
12-
1311

1412
__all__ = (
1513
"Bump",

‎commitizen/commands/changelog.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import re
2-
import pkg_resources
32
from collections import OrderedDict
43

4+
import pkg_resources
55
from jinja2 import Template
66

7-
from commitizen import factory, out, git
7+
from commitizen import factory, git, out
88
from commitizen.config import BaseConfig
99
from commitizen.error_codes import NO_COMMITS_FOUND, NO_PATTERN_MAP
1010

‎tests/test_changelog.py‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import os
22

3-
43
import pytest
54

65
from commitizen import changelog
76

8-
97
COMMIT_LOG = [
108
"bump: version 1.5.0 → 1.5.1",
119
"",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /