Skip to content

Commit 1858c61

Browse files
committed
Run linter in root context
1 parent e4ebaf0 commit 1858c61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tasks.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ def docs(ctx, doctest=False, rebuild=False, check_links=False):
123123
def lint(ctx):
124124
"""Check the consistency of coding style."""
125125
log.write('Running flake8 python linter...')
126-
ctx.run('flake8 src')
126+
127+
with chdir(BASE_FOLDER):
128+
ctx.run('flake8 src')
127129

128130

129131
@task()

0 commit comments

Comments
 (0)