Norwid Behrnd
b5021b0a8f
style(__init__.py, unit_tests.py): explicitly use utf-8
...
When running the unit tests with GitHub's Windows runner image,
one test currently fails for lack of (sufficient) support for
unicode characters. To address this issue, the file context
managers are amended by an explicit `encoding="utf-8"`.
Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2026-02-23 20:01:14 +01:00
Karl Voit
da1875a332
Merge branch 'master' into force-cv
2026-02-11 21:25:43 +00:00
Jonathan Neidel
391adeaab0
Fix wrong function name
2026-02-11 09:50:52 +01:00
Jonathan Neidel
15ad8471fb
Add test case for parsing unicode characters
2026-02-10 20:38:56 +01:00
Jonathan Neidel
35c9edf4aa
Add --force-cv flag to limit tags to the controlled vocabulary
...
Closes #18
2026-02-10 14:31:01 +01:00
Karl Voit
577393c818
Merge branch 'master' into fix/directory-emptiness-check
2025-05-10 11:08:37 +02:00
Moritz Böhme
a60aca7c36
feat: add .filetags syntax for including other files
2024-08-26 12:32:43 +02:00
Karl Voit
281ac61c03
added test_tag_file_in_subdir() but it doesn't show issue from #60
2023-08-28 19:04:53 +02:00
Lukas Haigner
29555f4b77
Skip directory emptiness check for known tagtrees directories #55
2023-08-02 22:48:52 +02:00
Karl Voit
854ecabf76
unit_test: marked empty test with FIXXME
2021-04-03 16:34:29 +02:00
Karl Voit
b1a9842c51
tests/call_tests.sh execute permission
2021-01-10 13:42:27 +01:00
Karl Voit
b9eb96c110
updated gitignore
2021-01-10 13:42:27 +01:00
Karl Voit
da9384ca06
split_up_filename: additional parameter that enables exception when
...
file is not found
2020-06-07 16:23:54 +02:00
Karl Voit
e44d7ddecd
--tagtrees can now be combined with --filter
2018-07-23 19:38:41 +02:00
Georg Drees
9630f48265
Make call_tests.sh work independently from CWD
2018-04-30 23:39:05 +02:00
Karl Voit
4b99da2a42
added support for comments in .filetags files
2018-04-18 10:02:55 +02:00
Karl Voit
1b6614b947
test and comments for locate_and_parse_controlled_vocabulary()
2018-04-05 18:14:09 +02:00
Karl Voit
6b59cf511b
added many line breaks in code for better legibility
2018-04-05 15:17:06 +02:00
Karl Voit
4e69032073
--tagtrees-dir can be used with --filter; improved support for .lnk files
2018-04-05 14:53:47 +02:00
Karl Voit
d6e3bbfb1d
ignoring link files for tag gardening
2018-03-18 17:24:18 +01:00
Karl Voit
8f0a456222
populating cache_of_files_with_metadata + tag group statistics when gardening
2018-03-18 15:03:37 +01:00
Karl Voit
444d5b1a3e
added --tagtrees-handle-no-tag parameter
2017-11-11 18:01:09 +01:00
Karl Voit
b6992f07d8
symlink originals get tagged as well, if basename matches
2017-08-27 23:59:45 +02:00
Karl Voit
b9cbded73e
unit_tests.py: PEP8 fixes
2017-08-27 23:55:49 +02:00
Karl Voit
bdee8a1224
fixed unit tests to ignore list item orders
2017-08-22 13:00:23 +02:00
Karl Voit
b9f04ff2f4
migrated to Python3 via 2to3
2017-08-22 12:51:18 +02:00
Karl Voit
fa31788e9e
shortcut tags can be mixed with non-shortcut tags
2017-02-25 12:13:40 +01:00
Karl Voit
b07a3c2430
fixed unit test bug
2017-02-25 11:18:10 +01:00
Karl Voit
9b694ec696
interactively adding tags: omit already assigned tags in shortcuts and vocabulary
2016-10-16 12:53:41 +02:00
Karl Voit
9f072555d4
added caching of tags and misc refactoring
2016-10-15 17:05:05 +02:00
Karl Voit
861a08d7f2
initial version with tagfilter (not tested)
2016-08-21 20:25:37 +02:00
Karl Voit
9e78f9a92e
introduced unique tags in .filetags
2016-08-21 14:42:31 +02:00
Karl Voit
6e0c63684d
added more unit-tests
2016-01-10 19:23:43 +01:00
Karl Voit
c74da9ff1d
renamed filetag.py to filetags.py
2015-01-02 14:21:50 +01:00
Karl Voit
30eb4bb093
fixed syntax (PEP8) using flake8
2014-12-20 22:21:39 +01:00
Karl Voit
a4db02afaf
added --list-tags-by-number, --list-tags-by-alphabet, --tag-gardening
2014-12-20 22:14:48 +01:00
Karl Voit
56c8575dcb
added script for testing
2014-02-20 19:39:47 +01:00
Karl Voit
31044e073b
first working version with tests
2013-05-14 22:49:44 +02:00
Karl Voit
b8039e2d7c
added contains tag, adding tag, and removing tag functions
2013-05-14 18:22:37 +02:00
Karl Voit
aecb5b4ed7
renamed vktag to filetag
2013-05-09 17:42:31 +02:00
Karl Voit
0aff47b1c9
initial stub of unit tests
2013-05-09 17:38:41 +02:00