Skip to content

Commit 346be3e

Browse files
committed
python: setup/docs: fix linter issues
1 parent 74bb0ad commit 346be3e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# -*- coding: utf-8 -*-
22
#
33
# libwally-core documentation build configuration file
4+
from os import getenv
5+
46
SCANNING, DOCS, FUNC = 1, 2, 3
57

6-
from os import getenv
78
# DUMP_FUNCS/DUMP_INTERNAL are used by tools/build_wrappers.py to auto-generate wrapper code
89
DUMP_FUNCS = getenv("WALLY_DOC_DUMP_FUNCS") is not None
910
DUMP_INTERNAL = DUMP_FUNCS and getenv("WALLY_DOC_DUMP_INTERNAL") is not None

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
"""setuptools config for wallycore """
22
from setuptools import setup, Extension
3-
import copy, os, platform, shutil, subprocess, sys
3+
import copy
44
import distutils.sysconfig
5+
import os
6+
import platform
7+
import subprocess
8+
import sys
59

610
def _msg(s):
711
print(s + '\n', file=sys.stderr)

0 commit comments

Comments
 (0)