Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Community linter fails on extended communities #70

Closed
ewpratten opened this issue Oct 29, 2022 · 2 comments
Closed

Community linter fails on extended communities #70

ewpratten opened this issue Oct 29, 2022 · 2 comments

Comments

@ewpratten
Copy link
Contributor

Running the linter on the current main branch throws this error at the end:

Traceback (most recent call last):
  File "/home/ewpratten/projects/lg.ring.nlnog.net/communities/lint.py", line 88, in <module>
    check_communities()
  File "/home/ewpratten/projects/lg.ring.nlnog.net/communities/lint.py", line 70, in check_communities
    (warnings, lines) = check_communitydesc(filename)
  File "/home/ewpratten/projects/lg.ring.nlnog.net/communities/lint.py", line 39, in check_communitydesc
    if f"as{asn}.txt" != filename.split("/")[-1] and not is_private(asn):
  File "/home/ewpratten/projects/lg.ring.nlnog.net/communities/lint.py", line 15, in is_private
    asn = int(asn)
ValueError: invalid literal for int() with base 10: 'soo 201376'
@teunvink
Copy link
Member

teunvink commented Oct 29, 2022 via email

@teunvink
Copy link
Member

I've removed the linter for now, it's useless. Closing this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants