diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 6281daa..0000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,26 +0,0 @@ -repos: - - repo: https://github.com/pycqa/flake8 - rev: 7.3.0 - hooks: - - id: flake8 - args: ["--select=F"] - types: [python] - - - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.11.0 - hooks: - - id: black - language_version: python3 - - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 - hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - - repo: https://github.com/PyCQA/bandit - rev: 1.9.2 - hooks: - - id: bandit - files: ^bouquin/ - args: ["-s", "B110"] diff --git a/bouquin/fonts/DejaVu.license b/bouquin/fonts/DejaVu.license index 8d71958..df52c17 100644 --- a/bouquin/fonts/DejaVu.license +++ b/bouquin/fonts/DejaVu.license @@ -74,7 +74,7 @@ Fonts, only if the fonts are renamed to names not containing either the words "Tavmjong Bah" or the word "Arev". This License becomes null and void to the extent applicable to Fonts -or Font Software that has been modified and is distributed under the +or Font Software that has been modified and is distributed under the "Tavmjong Bah Arev" names. The Font Software may be sold as part of a larger software package but diff --git a/bouquin/fonts/Noto.license b/bouquin/fonts/Noto.license index c37cc47..106e5d8 100644 --- a/bouquin/fonts/Noto.license +++ b/bouquin/fonts/Noto.license @@ -18,7 +18,7 @@ with others. The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, +fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The diff --git a/bouquin/locales/en.json b/bouquin/locales/en.json index 6c13e42..e8e0864 100644 --- a/bouquin/locales/en.json +++ b/bouquin/locales/en.json @@ -172,7 +172,7 @@ "stats_metric_revisions": "Revisions", "stats_metric_documents": "Documents", "stats_total_documents": "Total documents", - "stats_date_most_documents": "Date with most documents", + "stats_date_most_documents": "Date with most documents", "stats_no_data": "No statistics available yet.", "stats_time_total_hours": "Total hours logged", "stats_time_day_most_hours": "Day with most hours logged", @@ -377,7 +377,7 @@ "documents_missing_file": "The file does not exist:\n{path}", "documents_confirm_delete": "Remove this document from the project?\n(The file on disk will not be deleted.)", "documents_search_label": "Search", - "documents_search_placeholder": "Type to search documents (all projects)", + "documents_search_placeholder": "Type to search documents (all projects)", "todays_documents": "Documents from this day", "todays_documents_none": "No documents yet.", "manage_invoices": "Manage Invoices", diff --git a/release.sh b/release.sh index f416455..f086e0c 100755 --- a/release.sh +++ b/release.sh @@ -21,15 +21,12 @@ if [[ -z "${VERSION}" ]]; then exit 1 fi -set +e sed -i s/version.*$/version\ =\ \"${VERSION}\"/g pyproject.toml git add pyproject.toml git commit -m "Bump to ${VERSION}" git push origin main -set -e - # Clean caches etc filedust -y . diff --git a/tests/test_markdown_editor.py b/tests/test_markdown_editor.py index dcacbc5..73f58f4 100644 --- a/tests/test_markdown_editor.py +++ b/tests/test_markdown_editor.py @@ -1574,7 +1574,7 @@ def test_markdown_highlighter_special_characters(qtbot, app): highlighter = MarkdownHighlighter(doc, theme_manager) text = """ -Special chars: < > & " ' +Special chars: < > & " ' Escaped: \\* \\_ \\` Unicode: 你好 café résumé """