Explorar el Código

Ignore EtcdResult from pylint.

It uses dynamic attributes (via setattr()) that can't be detected
by static analysis.
master
Chris Smith hace 8 años
padre
commit
1f6256ecc7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      test/Dockerfile

+ 1
- 1
test/Dockerfile Ver fichero

@@ -7,4 +7,4 @@ RUN \
7 7
     pylint
8 8
 
9 9
 WORKDIR /
10
-ENTRYPOINT ["pylint", "/etcdlib.py"] 
10
+ENTRYPOINT ["pylint", "--ignored-classes=etcd.EtcdResult", "/etcdlib.py"]

Loading…
Cancelar
Guardar