Telecominfraproject / oopt-gnpy

Optical Route Planning Library, Based on a Gaussian Noise Model
http://telecominfraproject.com
BSD 3-Clause "New" or "Revised" License
198 stars 87 forks source link

Silence an irrelevant warning on LGTM.com #427

Closed jktjkt closed 2 years ago

jktjkt commented 2 years ago

(Opening a PR so that hopefully LGTM will give me some early feedback before merging this.)

By default, this service issues a warning for strings which format data like {uid}, flagging this pattern as related to antipatterns CWE-312, CWE-315 and CWE-359. This warning is not relevant for us because we never process sensitive information (if there are some NDA-covered data in the input, well, the user already has them, we're just using these).

Silence this warning (it's currently getting us an B rating, apparently).

See-also: https://lgtm.com/rules/1510014536001/ Change-Id: Id5cdd2c62e61a8329760d3fb79665737beb22378