Trenton H
aabcc9a1c4
Upgrades black to v23, upgrades ruff
2023-04-26 09:35:27 -07:00
Trenton H
30655f1b73
Fixes ruff not running isort against the codebase
2023-04-26 09:35:27 -07:00
Trenton H
d2c02b9102
Configures ruff as the one stop linter and resolves warnings it raised
2023-04-01 17:03:52 -07:00
Trenton H
6f23cfe78c
Resolves minor flake8 warnings in the test suite
2023-01-05 08:39:48 -08:00
Matthias Eck
f9dd29c5d3
test(test-date-parsing): test parsing of multiple dates
2022-08-06 13:03:20 +02:00
Matthias Eck
96fbb549ce
test(test-date-parsing): test parsing of multiple dates
2022-08-06 13:03:20 +02:00
shamoon
3ccf143c0b
Merge pull request #721 from paperless-ngx/bug-fix-date-ignore
...
Fix Ignore Date Parsing
2022-05-10 16:45:58 -07:00
Trenton Holmes
a944ef1ca6
Adds additional testing for both date parsing and consumed document created date
2022-05-08 16:57:35 -07:00
Trenton Holmes
f62193099c
Runs pyupgrade to Python 3.8+ and adds a hook for it
2022-05-06 09:04:08 -07:00
Fantasticle
d48b835876
remove unnecessary import
2022-03-31 21:25:58 +02:00
Fantasticle
e82b7517ff
add more tests for regex date parser, remove duplicate name
2022-03-31 21:24:57 +02:00
fantasticle
19b370dece
add test for new regex
2022-03-30 23:18:03 +02:00
Trenton Holmes
6635fa5f0d
Runs the pre-commit hooks over all the Python files
2022-03-11 11:34:28 -08:00
kpj
c56cb25b5f
Format Python code with black
2022-02-27 15:26:41 +01:00
jonaswinkler
b84fcac48d
code style
2021-02-08 13:18:08 +01:00
jayme-github
cd15490e91
Add option to ignore certain dates in parse_date
...
PAPERLESS_IGNORE_DATES allows to specify a comma separated list of dates
to ignore during date parsing (from filename and content). This can be
used so specify dates that do appear often in documents but are usually
not the documents creation date (like your date of birth).
2021-01-02 15:20:49 +01:00
Jonas Winkler
c00c63c639
fixed the test cases
2020-11-25 19:51:09 +01:00