Skip to content

innateessence/ReqLint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published