Skip to content

Commit f245c8d

Browse files
author
Hongbin Huang
committed
feat: simple refactor
1 parent 81fb604 commit f245c8d

23 files changed

+1945
-1340
lines changed

.bumpversion.cfg

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[bumpversion]
2+
current_version = 0.1.2
3+
commit = True
4+
tag = True
5+
parse = (?P<major>\d+)\.(?P<feat>\d+)\.(?P<patch>\d+)
6+
serialize =
7+
{major}.{feat}.{patch}
8+
9+
[bumpversion:file:easyai/__init__.py]

.coveragerc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[report]
2+
exclude_lines =
3+
pragma: no cover
4+
def __repr__
5+
def __str__
6+
if self.debug:
7+
if settings.DEBUG
8+
raise AssertionError
9+
raise NotImplementedError
10+
if 0:
11+
if __name__ == .__main__.:
12+
class .*\bProtocol\):
13+
@(abc\.)?abstractmethod

.editorconfig

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# http://editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.{py,rst,ini}]
12+
indent_style = space
13+
indent_size = 4
14+
15+
[*.{html,css,scss,json,yml,xml}]
16+
indent_style = space
17+
indent_size = 2
18+
19+
[*.md]
20+
trim_trailing_whitespace = false
21+
22+
[Makefile]
23+
indent_style = tab
24+
25+
[nginx.conf]
26+
indent_style = space
27+
indent_size = 2

0 commit comments

Comments
 (0)