mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 21:46:13 +02:00
Replace pyflakes with flake8 for linting
This commit is contained in:
parent
c5a7d7027c
commit
cdad0d6289
19 changed files with 164 additions and 90 deletions
|
@ -220,7 +220,10 @@ class Journal:
|
|||
|
||||
# If strict mode is on, all tags have to be present in entry
|
||||
tagged = self.search_tags.issubset if strict else self.search_tags.intersection
|
||||
excluded = lambda tags: len([tag for tag in tags if tag in excluded_tags]) > 0
|
||||
|
||||
def excluded(tags):
|
||||
return 0 < len([tag for tag in tags if tag in excluded_tags])
|
||||
|
||||
if contains:
|
||||
contains_lower = contains.casefold()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue