-
-
Notifications
You must be signed in to change notification settings - Fork 297
feat: add config option for line length warning #1574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Narwhal-fish
wants to merge
50
commits into
commitizen-tools:master
from
Narwhal-fish:feat/Add-config-option-for-line-length-warning
Open
Changes from 30 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
312ca49
refactor(ParseArgs): simplify __call__ function body
bearomorphism 56ef1e0
refactor(ExpectedExit): make the constructor more compact
bearomorphism 8cf7acd
refactor(ScmProvider): replace sorted with max
bearomorphism fb04e28
refactor(git): remove redundant if branch
bearomorphism 1a1fdc6
fix(Bump): rewrite --get-next NotAllowed error message for consistency
bearomorphism 93f0f27
fix(Changelog): fix _export_template variable type
bearomorphism 7a531db
refactor(TagRules): extract tag_formats property and simplify list co...
bearomorphism 9163ae2
refactor(Init): use ternary operator
bearomorphism 6a90185
refactor(bump): use a loop to shorten a series of similar NotAllowed ...
bearomorphism c169e09
fix: raise NoVersionSpecifiedError if version is None, and adjust cal...
bearomorphism 0fa668d
docs(taplo): add toml formatter
bearomorphism d9f5b49
docs(pre-commit): add taplo to pre-commit hook
bearomorphism aa9ab24
refactor(Changelog): remove unnecessary intermediate variables for be...
bearomorphism 3d635d2
refactor(changelog): shorten condition expression and early return
bearomorphism 68c4360
refactor(Init): extract _get_config_data for readability
bearomorphism 05c1722
refactor(process_commit_message): better type and early return
bearomorphism 4a1c516
build: remove not needed importlib-metadata dependency for python >= ...
bearomorphism 84706e1
docs(defaults): deprecate type Questions
bearomorphism 936352b
docs(customization.md): fix grammar mistake, add title to code blocks
bearomorphism 7dccbf6
docs(bump.md): add titles to code blocks and fix minor grammar issues
bearomorphism 189cf0b
ci(github-actions): set organization to true for JamesIves/github-spo...
Lee-W 1d92a05
ci(deps): bump dawidd6/action-homebrew-bump-formula from 4 to 5
dependabot[bot] fe48353
docs(config.md): Document glob pattern support in `version_files`
edgarrmondragon eca443d
docs(third-party-commitizen.md): Add cz-path info
Tatsh 83d9308
ci(github-actions): fix sponsorship page generation
Lee-W 40d3062
docs(README): install into dev dependency when using uv
timsu92 89600f0
docs(README): ensure line break
timsu92 a69d441
refactor(init): remote extra words
timsu92 6828582
feat: implement message length limit for commit messages
Narwhal-fish c300b70
docs(config): add message length limit configuration option
Narwhal-fish b8918a1
refactor(Init): fix unbounded variable in _ask_tag_format
bearomorphism 30baeab
test(Init): improve coverage for _ask_tag_format
bearomorphism e70c0a6
fix(ExitCode): add from_str in ExitCode and replace parse_no_raise wi...
bearomorphism c162290
refactor: use None instead of 0 for message_length_limit and update r...
Narwhal-fish 999f298
Merge branch 'v4-9-0-test' into feat/Add-config-option-for-line-lengt...
Narwhal-fish d417cf7
fix(Init): fix a typo in _ask_version_provider options and remove unn...
bearomorphism 0c4085e
Merge branch 'v4-9-0-test' into feat/Add-config-option-for-line-lengt...
Narwhal-fish af6aa62
style: fix line length formatting in check.py
actions-user 1118f65
fix(init): make welcome message easier to read
bearomorphism e28e3ce
refactor(Init): remove unnecessary methods from ProjectInfo and refac...
bearomorphism a498804
test(Init): cover _ask_tag test
bearomorphism d9058b6
fix(init): use pre-push as pre-commit stage
timsu92 445f013
test(init): check "pre-" is showing in outputs
timsu92 0b374af
refactor(Init): remove the variable values_to_add and the update_conf...
bearomorphism f8be15a
test(Init): improve test coverage on config initialization
bearomorphism f30ae2e
refactor(changelog): shorten generate_tree_from_commits
bearomorphism 7cd62fb
feat(check): add check against default branch
bearomorphism 3b00235
test(changelog): ensure error on missing changelog template filename
ongdisheng 69db5b4
fix(dependencies): update tomlkit version to >=0.8.0,<1.0.0
Narwhal-fish db902f9
Merge branch 'v4-9-0-test' into feat/Add-config-option-for-line-lengt...
Narwhal-fish File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include = ["pyproject.toml", ".taplo.toml"] | ||
|
||
[formatting] | ||
indent_string = " " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.