Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The custom linter example in the README does not work #334

Closed
andapopovici opened this issue Nov 15, 2023 · 3 comments
Closed

The custom linter example in the README does not work #334

andapopovici opened this issue Nov 15, 2023 · 3 comments

Comments

@andapopovici
Copy link
Contributor

I think this is due to an older method being used in the custom linter example.

I've amended this line in the example:

def offenses(processed_source)

to

def run(processed_source)

and that fixed it 👍🏻

@etiennebarrie
Copy link
Member

Can you open a PR? Thanks!

@andapopovici
Copy link
Contributor Author

andapopovici commented Nov 15, 2023

Can you open a PR? Thanks!

Here's the PR with the fix

@andapopovici
Copy link
Contributor Author

Fixed in #335

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants