Jens Bergmann
c7f7b832b2
fix: Make description field optional in ad_defaults
...
The description field in the main configuration (ad_defaults) is now optional.
Previously, the bot would fail if no description or affixes were provided in
the main configuration. This change addresses issue #435 .
Changes:
- Add fallback to empty string ("") when all description prefix/suffix sources
are None in __get_description_with_affixes method
- Add comprehensive test suite for description handling in test_init.py
- Fix coverage path in pyproject.toml from 'kleinanzeigen_bot' to
'src/kleinanzeigen_bot'
New tests cover:
- Description handling without main config description
- New format affixes in configuration
- Mixed old/new format affixes
- Ad-level affix precedence
- None value handling in affixes
- Email address @ symbol replacement
This change maintains backward compatibility while making the description
field optional in the main configuration, improving flexibility for users.
2025-02-18 21:39:53 +01:00
sebthom
5ade82b54d
chore: update pyproject config
2025-02-10 21:16:38 +01:00
Jens Bergmann
affde0debf
test: Enhance test coverage for KleinanzeigenBot initialization and core functionality ( #408 )
2025-02-09 03:33:01 +01:00
1cu
f4f00b9563
test: Add comprehensive test suite for extract.py ( #400 )
2025-02-05 23:35:45 +01:00
1cu
76b0901166
test: reorganized unit/integration tests ( #398 )
2025-02-03 17:05:14 +01:00
sebthom
236740fc2b
chore: update pyproject.toml
2025-01-24 22:13:59 +01:00
sebthom
679d08502c
chore: regenerate pdm.lock
2024-12-28 19:25:26 +01:00
sebthom
aec051826a
chore: update project meta
2024-12-28 18:03:09 +01:00
sebthom
e077f8d86d
feat: improve colorized logging
2024-12-27 15:35:58 +01:00
sebthom
9d54a949e7
feat: add multi-language support
2024-12-27 13:04:30 +01:00
sebthom
01d78bb000
feat: support shipping for WANTED ads #349
2024-11-21 23:53:26 +01:00
sebthom
6e76b0ff4c
build: rename "scan" script to "audit"
2024-11-21 22:04:15 +01:00
sebthom
1b326c1ce8
chore: upgrade to Python 3.13 and update deps
2024-11-15 13:31:29 +01:00
sebthom
6c5c1940e1
chore: Update Python dependencies
2024-09-16 11:56:34 +02:00
sebthom
0491636666
fix: SSL: CERTIFICATE_VERIFY_FAILED when running compiled version
2024-08-05 13:50:43 +02:00
sebthom
822d3b7e7c
upgrade dependencies
...
- setuptools 69.1.1 -> 69.5.1
- pytest-rerunfailures 13.0 -> 14.0
- autopep8 2.0.4 -> 2.1.0
- typing-extensions 4.10.0 -> 4.11.0
- pyright 1.1.353 -> 1.1.359
- pyinstaller 6.5.0 -> 6.6.0
- pyinstaller-hooks-contrib 2024.3 -> 2024.4
- nodriver 0.27rc3 -> 0.27rc4
2024-04-17 17:49:11 +02:00
sebthom
d5ae070bb3
chore: Update Python dependencies
2024-03-11 00:41:20 +01:00
sebthom
c9f12bfeea
add "pdm debug" task
2024-03-07 23:21:50 +01:00
sebthom
a441c5de73
replace selenium with nodriver
2024-03-07 20:33:23 +01:00
sebthom
df92206f8c
upgrade pytest
2024-03-04 14:25:35 +01:00
sebthom
115fb82064
remove webdriver-manager dependency
2024-03-04 13:27:17 +01:00
sebthom
9caa7a7124
use venv
2024-03-04 10:07:47 +01:00
sebthom
703c4fee23
chore: Update Python dependencies
2024-03-02 23:15:21 +01:00
sebthom
9d1ecb2882
improve dynamic version handling
2024-01-12 11:05:54 +01:00
sebthom
11f47140dc
add some color to usage help
2024-01-12 11:00:32 +01:00
sebthom
a87e12bf1b
use more predictable version numbers
2024-01-12 01:41:18 +01:00
sebthom
7b2dfd8559
make builds reproducible
2024-01-12 00:51:35 +01:00
sebthom
baa3c3d748
remove "inflect" dependency to reduce binary size
2023-12-11 15:03:36 +01:00
sebthom
55d8cc124b
upgrade deps and fix build
2023-11-20 07:33:06 +01:00
sebthom
4acf32d3dd
update copyright notice
2023-10-15 18:00:45 +02:00
sebthom
a8ef6818b7
support Python 3.12
2023-10-14 23:11:02 +02:00
sebthom
79dc665264
upgrade dependencies
2023-09-17 14:41:43 +02:00
sebthom
38a76572a4
improve type hints
2023-09-17 14:26:35 +02:00
sebthom
51ef9c8190
chore: Update Python dependencies
2023-08-01 11:12:09 +02:00
DreckSoft
7762049567
Fix manual shipping options ( #189 )
...
Co-authored-by: Sebastian Thomschke <sebthom@users.noreply.github.com >
2023-06-02 12:01:06 +02:00
sebthom
b723e59ac4
update kleinanzeigen URL
2023-05-15 21:45:57 +02:00
sebthom
33594a2784
make bandit work again
2022-10-29 16:32:07 +02:00
sebthom
b0e9fbe23e
chore: Update Python dependencies
2022-10-29 16:20:07 +02:00
sebthom
b095eb1802
run autopep8 in verbose mode
2022-10-29 16:19:53 +02:00
sebthom
963d7dc3db
support Python 3.11
2022-10-25 22:16:36 +02:00
sebthom
a1990f8883
relax linter config
2022-10-11 19:36:10 +02:00
sebthom
b6e190098b
relax linter config
2022-10-10 20:24:55 +02:00
sebthom
f924ed89d0
Support extended glob patterns
2022-06-11 18:55:13 +02:00
sebthom
2a28cc4390
upgrade dependencies
2022-05-31 17:35:08 +02:00
sebthom
55e018ac3f
Workaround for #46 WebDriverException: Message: target frame detached
2022-03-27 21:05:41 +02:00
sebthom
1de13bf43b
upgrade webdriver-manager and improve browser version detection
2022-03-22 14:12:52 +01:00
sebthom
8d6486f53e
minor cleanup
2022-03-21 21:25:35 +01:00
sebthom
1d2a8a1168
Upgrade dependencies
2022-03-21 20:32:30 +01:00
sebthom
9b67921cc4
Remove unused config entries
2022-03-21 20:19:26 +01:00
sebthom
414df7736c
Improving type hints
2022-03-13 13:25:52 +01:00