Skip to content

Commit 3744c1d

Browse files
committed
build: fix
1 parent d390381 commit 3744c1d

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ clean:
1616
rm -Rf .pytest_cache
1717

1818
test:
19-
flake8 --max-line-length 88 --ignore=D100,D101,D102,D103,D104,D107,D106,D105,W503,E203 jinja2_humanize_extension
19+
flake8 --max-line-length 90 --ignore=D100,D101,D102,D103,D104,D107,D106,D105,W503,E203 jinja2_humanize_extension
2020
black --check --diff jinja2_humanize_extension
2121
pylint --errors-only jinja2_humanize_extension
2222
pytest

jinja2_humanize_extension/__init__.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,4 @@ def __init__(self, environment):
179179
environment.filters["humanize_activate"] = humanize_activate
180180
environment.filters["humanize_deactivate"] = humanize_deactivate
181181
environment.filters["humanize_decimal_separator"] = humanize_decimal_separator
182-
if (sys.version_info.minor) > 7:
183-
environment.filters["humanize_thousands_separator"] = (
184-
humanize_thousands_separator
185-
)
186-
else:
187-
environment.filters[
188-
"humanize_thousands_separator"
189-
] = humanize_thousands_separator
182+
environment.filters["humanize_thousands_separator"] = humanize_thousands_separator

0 commit comments

Comments
 (0)