Skip to content

Commit

Permalink
update Black with line 120
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Nov 21, 2023
1 parent e3bf26b commit 8a64fe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ repos:
hooks:
- id: black
name: Black code
args: ["-S"]

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
Expand Down
29 changes: 2 additions & 27 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,5 @@
# Example configuration for Black.

# NOTE: you have to use single-quoted strings in TOML for regular expressions.
# It's the equivalent of r-strings in Python. Multiline strings are treated as
# verbose regular expressions by Black. Use [ ] to denote a significant space
# character.

[tool.black]
line-length = 100
target-version = ['py312']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''
line-length = 120
target-version = ['py311']
skip-string-normalization = true

0 comments on commit 8a64fe1

Please sign in to comment.