Skip to content

Commit e3ffb78

Browse files
committed
Update CI files
1 parent 3929ce6 commit e3ffb78

31 files changed

Lines changed: 87 additions & 87 deletions

.ci/ansible/filter/repr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from __future__ import absolute_import, division, print_function
2+
23
from packaging.version import parse as parse_version
34

45
__metaclass__ = type

.ci/scripts/calc_constraints.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77

88
import argparse
99
import fileinput
10-
import urllib.request
1110
import sys
11+
import urllib.request
12+
13+
import yaml
1214
from packaging.requirements import Requirement
1315
from packaging.version import Version
14-
import yaml
1516

1617
try:
1718
import tomllib

.ci/scripts/check_gettext.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

.ci/scripts/check_release.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
# ///
1010

1111
import argparse
12-
import re
1312
import os
13+
import re
1414
import sys
15-
import tomllib
1615
import typing as t
1716
from pathlib import Path
1817

18+
import tomllib
1919
import yaml
20-
from packaging.version import Version
2120
from git import Repo
21+
from packaging.version import Version
2222

2323
RELEASE_BRANCH_REGEX = r"^([0-9]+)\.([0-9]+)$"
2424
Y_CHANGELOG_EXTS = [".feature"]

.ci/scripts/check_requirements.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
#
66
# For more info visit https://github.com/pulp/plugin_template
77

8-
import tomllib
98
import warnings
10-
from packaging.requirements import Requirement
119

10+
import tomllib
11+
from packaging.requirements import Requirement
1212

1313
CHECK_MATRIX = [
1414
("pyproject.toml", True, True, True),

.ci/scripts/collect_changes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@
1818
import json
1919
import os
2020
import re
21-
import tomllib
2221
import urllib.request
2322
from pathlib import Path
2423

24+
import tomllib
2525
from git import GitCommandError, Repo
2626
from packaging.version import parse as parse_version
2727

28-
2928
PYPI_PROJECT = "pulp_gem"
3029

3130
# Read Towncrier settings

.ci/scripts/pr_labels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
import re
66
import sys
7-
import tomllib
87
from pathlib import Path
98

9+
import tomllib
1010
from git import Repo
1111

1212

.ci/scripts/schema.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"""
1010

1111
import json
12+
1213
from drf_spectacular.validation import JSON_SCHEMA_SPEC_PATH
1314

1415
with open(JSON_SCHEMA_SPEC_PATH) as fh:

.ci/scripts/skip_tests.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
*: Error
1616
"""
1717

18-
import sys
18+
import argparse
1919
import os
2020
import re
21-
import git
21+
import sys
2222
import textwrap
23-
import argparse
23+
24+
import git
2425

2526
DOC_PATTERNS = [
2627
r"^docs/",

.ci/scripts/update_github.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# For more info visit https://github.com/pulp/plugin_template
77

88
import os
9+
910
from github import Github
1011

1112
g = Github(os.environ.get("GITHUB_TOKEN"))

0 commit comments

Comments
 (0)