Last active
June 15, 2022 21:03
-
-
Save jamiekt/18640bd1efdb6e6fb1b9252bc7e75495 to your computer and use it in GitHub Desktop.
select python interpreter in poetry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v4.3.0 | |
hooks: | |
- id: end-of-file-fixer | |
- id: trailing-whitespace | |
- repo: local | |
hooks: | |
- id: black | |
name: Black | |
entry: poetry run black . | |
pass_filenames: false | |
language: system | |
- id: flake8 | |
name: flake8 | |
entry: poetry run flake8 . --config=.github/linters/.flake8 | |
pass_filenames: false | |
language: system | |
- id: mypy | |
name: mypy | |
entry: env MYPYPATH=stubs poetry run mypy dir1 dir2 | |
pass_filenames: false | |
language: system | |
- id: mypy tests | |
name: mypy tests | |
entry: env MYPYPATH=real_time_event_processor:stubs poetry run mypy tests | |
pass_filenames: false | |
language: system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment