From 9ca2145972933cb58d1a83af99fb942a802fdc1c Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Fri, 9 Dec 2022 15:11:53 +0100 Subject: [PATCH] REL bumpversion 0.10 --- imblearn/_version.py | 2 +- setup.cfg | 60 ++++++++++++++++---------------------------- 2 files changed, 23 insertions(+), 39 deletions(-) diff --git a/imblearn/_version.py b/imblearn/_version.py index d9c7ff087..e67ae5b4f 100644 --- a/imblearn/_version.py +++ b/imblearn/_version.py @@ -22,4 +22,4 @@ # 'X.Y.dev0' is the canonical version of 'X.Y.dev' # -__version__ = "0.10.0.dev0" +__version__ = "0.10.0" diff --git a/setup.cfg b/setup.cfg index 05df1039a..58df5fbe5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.10.0.dev0 +current_version = 0.10.0 tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\.(?P[a-z]+)(?P\d+))? serialize = @@ -30,46 +30,30 @@ filterwarnings = ignore:the matrix subclass:PendingDeprecationWarning [flake8] -# max line length for black max-line-length = 88 target-version = ['py37'] -# Default flake8 3.5 ignored flags -ignore= - # check ignored by default in flake8. Meaning unclear. - E24, - # continuation line under-indented - E121, - # closing bracket does not match indentation - E123, - # continuation line over-indented for hanging indent - E126, - # space before : (needed for how black formats slicing) - E203, - # missing whitespace around arithmetic operator - E226, - # multiple statements on one line (def) - E704, - # do not assign a lambda expression, use a def - E731, - # do not use variables named 'l', 'O', or 'I' - E741, - # line break before binary operator - W503, - # line break after binary operator - W504 -exclude= - .git, - __pycache__, - dist, - doc/_build, - doc/auto_examples, - build, - -# It's fine not to put the import at the top of the file in the examples -# folder. +ignore = + E24, + E121, + E123, + E126, + E203, + E226, + E704, + E731, + E741, + W503, + W504 +exclude = + .git, + __pycache__, + dist, + doc/_build, + doc/auto_examples, + build, per-file-ignores = - examples/*: E402 - doc/conf.py: E402 + examples/*: E402 + doc/conf.py: E402 [mypy] ignore_missing_imports = True