Skip to content

Commit 52b4ba5

Browse files
committed
update code for linting
1 parent 55fe298 commit 52b4ba5

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

quickstart/quickstart.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66
__email__ = "[email protected]"
77

88
import os
9+
import sys
910
from logging import DEBUG
1011
from pathlib import Path
1112

1213
from dotenv import load_dotenv
1314

1415
project_dir = Path(__file__).parent.parent
15-
16-
import sys
1716
sys.path.insert(0, str(project_dir))
1817

1918
from yfpy import Data
@@ -42,6 +41,7 @@
4241
# create YFPY Data instance for saving/loading data
4342
data = Data(data_dir)
4443

44+
4545
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
4646
# VARIABLE SETUP # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
4747
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ per-file-ignores =
1111
# imported but unused
1212
__init__.py: F401
1313
data.py: F401
14+
# add to PYTHONPATH before imports
15+
quickstart.py: E402
1416
exclude =
1517
__pycache__,
1618
.git,

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
import shutil
33
import subprocess
44
from pathlib import Path
5-
from ruamel.yaml import YAML
6-
from ruamel.yaml.comments import CommentedMap
75

86
import setuptools
7+
from ruamel.yaml import YAML
98

109
from VERSION_PYTHON import __version_minimum_python__, __version_maximum_python__
1110

0 commit comments

Comments
 (0)