Skip to content

Commit

Permalink
Publish 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Thénault committed Dec 3, 2020
1 parent eea9381 commit 3e80293
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions pdfss.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ def default_group_line(linfo, latest_linfo):

# take care allowed_y_diff may be 0, 1.1 found empirically
allowed_y_diff = max(allowed_y_diff, min_y_diff)

if diff < allowed_diff \
and (latest_linfo.y0 - linfo.y0) <= allowed_y_diff:
return True
Expand Down Expand Up @@ -386,7 +385,6 @@ def iter_ltchar_index_items(items):
latest_key, latest_ltchar_index = latest
latest_linfo = LineInfo(*latest_key)
assert (latest_linfo.y0 - linfo.y0) >= 0

if group_line(linfo, latest_linfo):
ltchar_index.update(latest_ltchar_index)
ltline_index.pop(latest_key)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

setup(
name='pdfss',
version='2.1.0',
version='2.1.1',
url='https://github.com/lowatt/lowatt_pdfss',

license='GPL3',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ commands =
[pytest]
addopts = --doctest-modules
testpaths = test
log_print = false
show_capture = false

[flake8]
#format = pylint
Expand Down

0 comments on commit 3e80293

Please sign in to comment.