File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,8 @@ end_of_line = lf
5
5
trim_trailing_whitespace = true
6
6
indent_size = 2
7
7
8
+ [* .txt ]
9
+ insert_final_newline = false
10
+
8
11
[* .py ]
9
12
indent_size = 4
Original file line number Diff line number Diff line change
1
+ 3.1.2
Original file line number Diff line number Diff line change 4
4
with open ("README.md" , 'r' ) as fi : # pragma: no cover
5
5
long_desc = fi .read ()
6
6
7
+ with open ("VERSION.txt" , 'r' ) as ver : # pragma: no cover
8
+ version = ver .read ()
9
+
7
10
setup ( # pragma: no cover
8
11
name = 'commit-helper' ,
9
12
description = "A python program that helps you write commits following commit conventions" , # nopep8
12
15
long_description_content_type = 'text/markdown' ,
13
16
author = 'Andre de Sousa Costa Filho' ,
14
17
author_email = 'andre.filho001@outlook.com' ,
15
- version = '3.1.2' ,
18
+ version = str ( version ). replace ( ' \n ' , '' ) ,
16
19
packages = find_packages (),
17
20
entry_points = {
18
21
'console_scripts' : [
You can’t perform that action at this time.
0 commit comments