WIP: résolution du pipeline
This commit is contained in:
parent
c796b06451
commit
3cb73c7abb
|
@ -8,4 +8,4 @@ stages:
|
|||
flake8:
|
||||
stage: Static Analysis
|
||||
script:
|
||||
- flake8 --max-line-length=120 --ignore=E402,E266, src/*.py
|
||||
- flake8 --max-line-length=120 --ignore=E402,E266,W503 src/*.py
|
|
@ -132,8 +132,10 @@ for n in range(0, size + 1):
|
|||
for s in range(0, sites):
|
||||
arr = 0
|
||||
for a in range(0, nb_arrows):
|
||||
if (sp.get_arrow(a).get_coord("x") == n
|
||||
and sp.get_arrow(a).get_site() == s):
|
||||
if (
|
||||
sp.get_arrow(a).get_coord("x") == n
|
||||
and sp.get_arrow(a).get_site() == s
|
||||
):
|
||||
arr = sp.get_arrow(a).get_weight()
|
||||
if arr > 0:
|
||||
print(str(arr), end=' ')
|
||||
|
|
Loading…
Reference in New Issue