Skip to content

Commit e80ab15

Browse files
committed
style: Fix style issues and add flake8 as a requirement
1 parent 92573b2 commit e80ab15

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

castxml/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ def _program(name, args):
3737

3838

3939
def castxml():
40-
raise SystemExit(_program('castxml', sys.argv[1:]))
40+
raise SystemExit(_program('castxml', sys.argv[1:]))

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cmake
2+
flake8>=3.0.4
23
pytest>=4.5.0
34
pytest-runner>=5.1
45
pytest-virtualenv>=1.7.0

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
with open('README.md', 'r') as fp:
1010
readme = fp.read()
1111

12+
1213
def parse_requirements(filename):
1314
with open(filename, 'r') as file:
1415
return TextFile(filename, file).readlines()
@@ -70,4 +71,4 @@ def parse_requirements(filename):
7071
install_requires=requirements,
7172
tests_require=dev_requirements,
7273
setup_requires=setup_requires
73-
)
74+
)

0 commit comments

Comments
 (0)