From 00da4e8bbc376a615d924799ebdf3a7cff98fcc7 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Sat, 23 Feb 2019 22:22:56 +0800 Subject: [PATCH] [Add]flake8 setting file --- .flake8 | 7 +++++++ vnpy/__init__.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000..1bc02d11 --- /dev/null +++ b/.flake8 @@ -0,0 +1,7 @@ +[flake8] +exclude = __pycache__,__init__.py +ignore = + E501 line too long, fixed by black + W503 line break before binary operator + W293 blank line contains whitespace + W291 trailing whitespace diff --git a/vnpy/__init__.py b/vnpy/__init__.py index 1b483f37..f2dc0e40 100644 --- a/vnpy/__init__.py +++ b/vnpy/__init__.py @@ -1 +1 @@ -__version__ == "2.0" +__version__ = "2.0"