Skip to content

Commit cf97085

Browse files
committed
Pylint test command update
1 parent 2da1c65 commit cf97085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def pylint(context, netbox_ver=NETBOX_VER, python_ver=PYTHON_VER):
230230
docker = f"docker-compose -f {COMPOSE_FILE} -p {BUILD_NAME} run netbox"
231231
# We exclude the /migrations/ directory since it is autogenerated code
232232
context.run(
233-
f"{docker} sh -c \"cd /source && find . -name '*.py' -not -path '*/migrations/*' | "
233+
f"{docker} sh -c \"cd /source && find . -name '*.py' -not -path '*/migrations/*' -not -path '*/docs/*' | "
234234
'PYTHONPATH=/opt/netbox/netbox DJANGO_SETTINGS_MODULE=netbox.settings xargs pylint"',
235235
env={"NETBOX_VER": netbox_ver, "PYTHON_VER": python_ver},
236236
pty=True,

0 commit comments

Comments
 (0)