Skip to content

Commit

Permalink
chore: add Black configuration and update VSCode settings for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick2bad4u committed Feb 21, 2025
1 parent 00775a2 commit 8c7d761
Show file tree
Hide file tree
Showing 4 changed files with 1,086 additions and 1,072 deletions.
14 changes: 14 additions & 0 deletions .black
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[tool.black]
line-length = 200
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
)
# 'exclude' excludes files or directories from being formatted
exclude = '''
'''
Loading

0 comments on commit 8c7d761

Please # to comment.