Skip to content

Commit

Permalink
bugfix: restove previous behaviour for cldf validate command
Browse files Browse the repository at this point in the history
  • Loading branch information
xrotwang committed Dec 16, 2024
1 parent 45a1578 commit 7d5d032
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
The `pycldf` package adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


## [unreleased]

Fixed issue whereby CLDF Markdown content was validated even if not explicitely requested.


## [1.40.0] - 2024-12-13

- Support certain GitHub URLs as dataset locators.
Expand Down
3 changes: 3 additions & 0 deletions src/pycldf/commands/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def run(args):
if not cldf.validate(log=args.log):
return 1

if not args.with_cldf_markdown:
return 0

missing = collections.Counter()
links = []

Expand Down

0 comments on commit 7d5d032

Please sign in to comment.