Skip to content

Commit

Permalink
Update project information
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas H authored and akaihola committed Aug 8, 2024
1 parent 7026a20 commit ebf9170
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Added
- Display exit code in parentheses after error message.
- Do not reformat renamed files.
- CI workflow to post recent project activity in a discussion. Triggered manually.
- The `--preview` configuration flag is now supported in Darker CLI and Black
configuration files.

Fixed
-----
Expand Down
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ The following `command line arguments`_ can also be used to modify the defaults:
Also convert string formatting to use f-strings using the ``flynt`` package
-i, --isort
Also sort imports using the ``isort`` package
--preview
Use Black's experimental preview style
-L CMD, --lint CMD
Run a linter on changed files. ``CMD`` can be a name or path of the linter
binary, or a full quoted command line with the command and options. Linters read
Expand Down Expand Up @@ -413,6 +415,7 @@ An example ``pyproject.toml`` configuration file:
line-length = 80 # Passed to isort and Black, override their config
target-version = ["py312"] # Passed to Black, overriding its config
log_level = "INFO"
preview = false # Passed to Black, overriding its config
[tool.black]
line-length = 88 # Overridden by [tool.darker] above
Expand All @@ -422,6 +425,8 @@ An example ``pyproject.toml`` configuration file:
exclude = "test_*\.py"
extend_exclude = "/generated/"
force_exclude = ".*\.pyi"
preview = true # Overridden above
[tool.isort]
profile = "black"
Expand Down
2 changes: 2 additions & 0 deletions contributors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ talhajunaidd:
- {link_type: commits, type: Code}
tapted:
- {link_type: issues, type: Bug reports}
tehunter:
- {link_type: pulls-author, type: Code}
tgross35:
- {link_type: issues, type: Bug reports}
tkolleh:
Expand Down

0 comments on commit ebf9170

Please sign in to comment.