aws / aws-lambda-builders

Python library to compile, build & package AWS Lambda functions for several runtimes & framework
Apache License 2.0
338 stars 139 forks source link

chore: Move to ruff from pylint #435

Closed jfuss closed 1 year ago

jfuss commented 1 year ago

When we started the project we defaulted to use pylint. Pylint has served it's purpose but it pretty slow. Ruff is a newer linter in the python ecosystem but is written in Rust. This makes Ruff was faster than pylint. On my machine (while testing in SAM CLI), pylint took about 70s to lint the repo but with ruff it took .04s.

Issue #, if available: N/A

Description of changes: See https://github.com/charliermarsh/ruff for more details.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.