Skip to content

Commit 1f67e74

Browse files
committed
lint: solved complains
1 parent b42843a commit 1f67e74

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/make
22

33
check:
4-
pycodestyle openflow
5-
pylint -s n openflow
4+
pycodestyle openflow examples
5+
pylint -s n openflow examples
66
git diff --check --cached
77
pytest test
88

examples/configure/defaults.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Example about default values."""
2+
13
from openflow.configure import ConfigureTools
24

35
cfg = ConfigureTools()

examples/configure/file.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Example about to specify a file."""
2+
13
from openflow.configure import ConfigureTools
24

35
cfg = ConfigureTools('../openflow.yml')

examples/configure/methods.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Example about to use the different methods."""
2+
13
from openflow.configure import ConfigureTools
24

35
cfg = ConfigureTools()

openflow/configure.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"""
2323

2424

25-
import os
2625
from yaml import safe_load, dump
2726

2827

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@
3737
'Topic :: Utilities',
3838
'Topic :: Software Development :: Build Tools',
3939
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)"
40-
]
40+
],
41+
install_requires=['pyyaml']
4142
)

0 commit comments

Comments
 (0)