File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change
1
+ [flake8]
2
+ ignore = E501, W503
Original file line number Diff line number Diff line change @@ -65,3 +65,9 @@ upload:
65
65
.PHONY : bump
66
66
bump :
67
67
$(EDITOR ) readability/__init__.py
68
+ $(eval VERSION := $(shell grep "__version__" readability/__init__.py | cut -d'"' -f2) )
69
+ # fix first occurrence of version in pyproject.toml
70
+ sed -i ' 0,/version = ".*"/s//version = "$(VERSION)"/' pyproject.toml
71
+ git commit -m " Bump version to $( VERSION) " pyproject.toml readability/__init__.py
72
+ git tag $(VERSION )
73
+ git push --tags
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " readability-lxml"
3
- version = " 0.8.4"
3
+ version = " 0.8.4.1 "
4
4
description = " fast html to text parser (article readability tool) with python 3 support"
5
5
authors = [
" Yuri Baburov <[email protected] >" ]
6
6
license = " Apache License 2.0"
Original file line number Diff line number Diff line change 1
- __version__ = "0.8.4"
1
+ __version__ = "0.8.4.1 "
2
2
3
3
from .readability import Document
You can’t perform that action at this time.
0 commit comments