Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReqLint

Quickly lint your python files to detect if you're using requests library without specifying a timeout value

Why?

Quick Start

Installation

  • pip install py-reqlint

CLI usage

# 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

Library usage

from reqlint import ReqLint

with open('your_file.py', 'r') as f:
    code = f.read()

for issue in ReqLint.lint(code):
    print(issue)

About

Python linter for Requests to find missing timeout params/kwargs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages