dlint-py / dlint

Dlint is a tool for encouraging best coding practices and helping ensure Python code is secure.
BSD 3-Clause "New" or "Revised" License
164 stars 15 forks source link

Add input linter when asking for password #54

Open clavedeluna opened 2 years ago

clavedeluna commented 2 years ago

Closes #16

The goal is to detect when a user uses the built-in input function with an arg or kwarg of string containing "password". Unit tests demonstrate when this may be a false positive, such as input("Please enter your name. Please do not enter your password")

First pass attempt, would love feedback.