Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .black.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[tool.black]
line-length = 88
skip-string-normalization = 1
required-version = 24
target-version = ['py39']

# 'extend-exclude' excludes files or directories in addition to the defaults
extend-exclude = '''
(
.+/sre_.+.py | .+/testpackages/.+
)
'''
4 changes: 4 additions & 0 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,7 @@ jobs:
- name: Run docs and check extensions
run: |
tox -e testdocs

- name: Run black
run: |
tox -e black
1 change: 1 addition & 0 deletions pydoctor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Warning: PyDoctor's API isn't stable YET, custom builds are prone to break!

"""

import importlib.metadata as importlib_metadata

__version__ = importlib_metadata.version('pydoctor')
Expand Down
194 changes: 115 additions & 79 deletions pydoctor/_configparser.py

Large diffs are not rendered by default.

Loading
Loading