Refactor SourceKind to store file content (#6640)

This commit is contained in:
Micha Reiser 2023-08-18 15:45:38 +02:00 committed by GitHub
parent 2aeb27334d
commit ea72d5feba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 206 additions and 179 deletions

View file

@ -37,7 +37,7 @@ pub(crate) fn run_stdin(
let mut diagnostics = lint_stdin(
filename,
package_root,
&stdin,
stdin,
&pyproject_config.settings.lib,
noqa,
autofix,