Commit graph

53 commits

Author SHA1 Message Date
Norwid Behrnd
a2a9323063 fix(test_generator.org): rewrite first portion of pytest tests
The export by tangle from the org file is constrained to the first
set of tests by pytest.  This section is rewritten to yield a more
portable format to work either for Linux Debian, or Windows 10.

Running

```shell
python -m pytest
```

in their respective virtual environments, the set of 60 items to
test all pass (Debian: Python 3.12.6, pytest 8.3.3; Windows 10:
Python 3.12.4, pytest 8.3.3).

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-10-31 11:13:26 +01:00
Norwid Behrnd
c89aa42418 fix(requirements.txt): update and extend scope
By now, an update/move to `pyreadline3` is sensible (as already in
the principal branch).  Extension with `pytest` offers an optional
test on site.

In Linux Debian 13/trixie (virtual environment of Python 3.12.4 and
pytest 8.3.3), out of 540 tests all 540 pass, and 4 are tagged
with a warning.  Pylint (3.3.1)/astroid (3.3.5) indicate a couple of
possible improvements (r strings, etc.) and hence rate
test_appendfilename.py with 6.21/10 -- but does not report a syntax
error.

Signed-off-by: Norwid Behrnd <nbehrnd@yahoo.com>
2024-10-31 10:28:49 +01:00
Karl Voit
f423f93e19
Merge pull request #12 from nbehrnd/tester
Cherry-pick from cebc8c42
2022-01-07 16:02:04 +01:00
Norwid Behrnd
c9ef4864c0 Cherry-pick tester-time (0291b2d), d2n time stamps
Checks of appendfilename --smart-prepend now consider date2name'
default time stamp (YYYY-MM-DD), the by date2name --withtime
(YYYY-MM-DDTHH.MM.SS), or absence of such by pattern recognition
with regular expressions.
2022-01-07 11:10:27 +01:00
Norwid Behrnd
1f1292d04a Cherry-pick from cebc8c42
For programmatic testing of appendfilename, a test generator
is written.  This tangles a Makefile, a pytest.ini and the
test script.  Despite the incomplete coverage of this approach,
an inconsistency in appendfilename's interaction on files with
the simple YYYY-MM-DD timestamp (date2name) is spot.
2022-01-06 16:09:05 +01:00
Karl Voit
30809f391a fixed bug when using --smart-prepend 2022-01-04 17:25:24 +01:00
Karl Voit
c9a1bc9322 introduced --separator CLI option according to a suggestion from #9 2022-01-01 11:26:33 +01:00
Karl Voit
6db3e4bc9d renamed: TEXT_SEPARATOR → DEFAULT_TEXT_SEPARATOR 2022-01-01 11:16:38 +01:00
Karl Voit
dd79bf97d0 README: fixed documentation error; fixes #8 2020-09-13 10:49:05 +02:00
Karl Voit
d470e12c91 README: removed depricated --interactive option from geeqie example 2020-08-30 23:32:42 +02:00
Karl Voit
aff1f10d12 return error code >0 if (some basic) errors occurred 2020-06-07 17:40:36 +02:00
Karl Voit
d8ea343c19 README: removed duplicated geeqie setup section 2020-06-06 15:44:45 +02:00
Karl Voit
0b517f092e README: re-ordering install sections 2020-03-22 14:59:54 +01:00
Karl Voit
39b65a2b11 README: integratethis method 2020-03-22 14:59:15 +01:00
Karl Voit
a706ef181b Windows screencast GIF 2020-03-22 14:43:53 +01:00
Karl Voit
472c99ab55 Windows screencast GIF 2020-03-22 14:42:44 +01:00
Karl Voit
0540f70533 fixed bug with dirnames 2019-10-29 12:42:40 +01:00
Karl Voit
231b7675f2 fixed wrong short-parameter for "--dryrun" 2019-10-20 11:27:58 +02:00
Karl Voit
25fb8fcbfc README: GitHub really doesn't feature good Org mode rendering 2019-10-20 00:26:24 +02:00
Karl Voit
c80716966e README: fixed GitHub Org mode bug 2019-10-20 00:25:12 +02:00
Karl Voit
64fa316e7b README: further examples 2019-10-20 00:23:43 +02:00
Karl Voit
8a5f153fdd gitignore: ignoring venv 2019-10-20 00:23:31 +02:00
Karl Voit
3e938903a1 added --prepend and --smart-prepend 2019-10-20 00:14:38 +02:00
Karl Voit
385ba28608 print help when no parameter is given 2018-11-18 22:55:51 +01:00
Karl Voit
b97539e0a9 readme: removed "tab-with-profile"
which only works on my machine
2018-07-21 09:20:58 +02:00
Karl Voit
fad0c5d93e README: improved GitHub rendering syntax 2018-05-06 13:00:30 +02:00
Karl Voit
d63cbad30c README: added GLT18 video link and fixed URL typo 2018-05-06 10:24:42 +02:00
Karl Voit
d82106ba54 added requirements.txt 2018-02-03 18:43:52 +01:00
Karl Voit
d0b2b7b630 refactored project structure according to pip guidelines 2018-02-03 18:04:28 +01:00
Karl Voit
f660317cc4 fixed copy&paste error of project URL 2018-02-03 17:28:42 +01:00
Karl Voit
d02cbd1340 README: added screencast 2018-02-03 17:09:21 +01:00
novoid
ac95e0828e
Merge pull request #1 from bdillahu/patch-1
Update README.org
2017-11-25 11:18:21 +01:00
Bruce Dillahunty
f123c83661
Update README.org
Shouldn't have "not" in that line, I believe... might say "This is a potentially error-prone task."
2017-11-21 22:04:38 -05:00
Karl Voit
dfca30dc86 README: Integration into common tools 2017-11-11 16:18:54 +01:00
Karl Voit
4e40543e44 When renaming a symlink, its source file with matching name is renamed as well 2017-08-29 17:55:57 +02:00
Karl Voit
95a22cf2a5 PEP8 fixes 2017-08-29 14:42:48 +02:00
Karl Voit
eefd36acdb introduced PROG_VERSION_DATE 2017-08-22 13:13:25 +02:00
Karl Voit
5f790db6dd migrated to Python 3 via 2to3 2017-08-22 13:12:24 +02:00
Karl Voit
ed5908ecde fixed Python2 shebang according to PEP0394 2017-02-12 17:44:57 +01:00
Karl Voit
298a548a49 added pip setup 2016-09-11 17:45:29 +02:00
Karl Voit
88c14fcbdd added how-to-thank-me section 2016-08-29 19:44:26 +02:00
Karl Voit
3a99484878 fixed issue with tags in parent foldername 2015-05-30 15:49:28 +02:00
Karl Voit
96e924debe v0.3 2015-04-05 14:24:16 +02:00
Karl Voit
9820da5a0d fixed charset issue 2015-04-05 14:23:41 +02:00
Karl Voit
2a1d2e34e5 improved error-handling and catching exceptions 2015-04-05 14:23:15 +02:00
Karl Voit
a738d242d7 fixed issue with files with missing file extension 2015-01-07 20:59:09 +01:00
Karl Voit
e7edd22ae7 added CV blacklist and whitelist 2015-01-07 20:40:37 +01:00
Karl Voit
09ee2f5cbe README: added tab completion comment 2015-01-06 15:24:15 +01:00
Karl Voit
9cfb5d52d2 added readline support with tab completion of words 2015-01-06 15:21:48 +01:00
Karl Voit
6329c7f16b added link to blog post on how to manage files 2014-11-08 14:11:42 +01:00