Skip to content

Commit 8068ff7

Browse files
authored
Merge pull request #831 from ahoppen/flake8
Make `build-script-helper.py` pass flake8 linting
2 parents e113695 + 65bac1e commit 8068ff7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.flake8

Lines changed: 4 additions & 0 deletions
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

Lines changed: 4 additions & 4 deletions
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)