We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0681dd commit 9c2651cCopy full SHA for 9c2651c
tests/test_pep8.py
@@ -1,15 +1,16 @@
1
"""Run PEP8 code format checker on all python files except samples directory."""
2
3
import os
4
+from os.path import dirname, abspath, join
5
import unittest
6
+
7
import pep8
-from os.path import dirname, abspath
8
9
10
class Pep8Test(unittest.TestCase):
11
def test_pep8(self):
12
"""Test method to check PEP8 compliance over the entire project."""
- self.file_structure = dirname(dirname(abspath(__file__)))
13
+ self.file_structure = join(dirname(dirname(abspath(__file__))), "hydra_python_core")
14
print("Testing for PEP8 compliance of python files in {}".format(
15
self.file_structure))
16
style = pep8.StyleGuide()
0 commit comments