Skip to content

Commit 65bac1e

Browse files
committed
Make build-script-helper.py pass flake8 linting
In preparation for swiftlang/github-workflows#14
1 parent b3314ac commit 65bac1e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.flake8

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[flake8]
2+
3+
# Match the maximum line length in Swift files.
4+
max-line-length = 120

build-script-helper.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
from __future__ import print_function
1616

1717
import argparse
18-
import sys
19-
import os, platform
18+
import json
19+
import os
2020
import subprocess
21+
import sys
2122
from pathlib import Path
22-
from typing import List, Union, Optional
23-
import json
23+
from typing import List, Optional, Union
2424

2525
# -----------------------------------------------------------------------------
2626
# General utilities

0 commit comments

Comments
 (0)