Skip to content

Instantly share code, notes, and snippets.

@rvasilevsk
Created November 6, 2022 19:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rvasilevsk/d930954dae95ab373dd3f6ad6b124626 to your computer and use it in GitHub Desktop.
Save rvasilevsk/d930954dae95ab373dd3f6ad6b124626 to your computer and use it in GitHub Desktop.
[pyproject.toml black] #pyproject.toml
[tool.black]
line-length = 119
target-version = ['py310']
# include = '\.pyi?$'
# 'extend-exclude' excludes files or directories in addition to the defaults
#extend-exclude = '''
## A regex preceded with ^/ will apply only to files and directories
## in the root of the project.
#(
# ^/foo.py # exclude a file named foo.py in the root of the project
# | .*_pb2.py # exclude autogenerated Protocol Buffer files anywhere in the project
#)
#'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment