diff options
author | Joris Roovers <joris.roovers@gmail.com> | 2022-09-05 11:09:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 11:09:38 +0200 |
commit | 9c7eac63ec34b96e7b1085ac47c9314d74a7d98b (patch) | |
tree | 85d77aee7b2d95dc0e1e541b70dd7f6bd69ecf4a /examples | |
parent | 120ab9f9d0977a7545a9f414e2f84e7904200eda (diff) |
Pyupgrade: upgrade code to python3.6+ (#329)
Result of running pyupgrade against gitlint, targetting Python 3.6+.
This mostly cleans up some unneccesary python 2 compatibility code.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/my_commit_rules.py | 2 | ||||
-rw-r--r-- | examples/my_configuration_rules.py | 2 | ||||
-rw-r--r-- | examples/my_line_rules.py | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/examples/my_commit_rules.py b/examples/my_commit_rules.py index ad1d21d..35bb836 100644 --- a/examples/my_commit_rules.py +++ b/examples/my_commit_rules.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from gitlint.rules import CommitRule, RuleViolation from gitlint.options import IntOption, ListOption diff --git a/examples/my_configuration_rules.py b/examples/my_configuration_rules.py index ee3e981..7715c0b 100644 --- a/examples/my_configuration_rules.py +++ b/examples/my_configuration_rules.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from gitlint.rules import ConfigurationRule from gitlint.options import IntOption diff --git a/examples/my_line_rules.py b/examples/my_line_rules.py index 777854b..58b0108 100644 --- a/examples/my_line_rules.py +++ b/examples/my_line_rules.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - from gitlint.rules import LineRule, RuleViolation, CommitMessageTitle from gitlint.options import ListOption |