Quickly lint your python files to detect if you're using requests library without specifying a timeout value
pip install py-reqlint
# Show help text
python -m reqlint --help
# recusively lint all python files in specified directory
python -m reqlint path/to/your/repo -r
# lint only specific files
python -m reqlint somefile.py someotherfile.py
from reqlint import ReqLint
with open('your_file.py', 'r') as f:
code = f.read()
for issue in ReqLint.lint(code):
print(issue)