summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg27
1 files changed, 26 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 030ba17..cc7f521 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = git-crecord
-version = 20220324.0
+version = 20230226.0
url = https://github.com/andrewshadura/git-crecord
author = Andrej Shadura
author-email = andrew@shadura.me
@@ -31,6 +31,14 @@ tests_require = git-crecord[test]
[options.extras_require]
test =
pytest >= 6
+lint =
+ flake8
+ flake8-blind-except
+ flake8-builtins
+ flake8-commas
+ flake8-comprehensions
+ flake8-docstrings
+ flake8-isort
[tool:pytest]
addopts = --doctest-modules
@@ -39,6 +47,23 @@ doctest_optionflags = NORMALIZE_WHITESPACE
[options.entry_points]
console_scripts =
git-crecord = git_crecord.main:main
+ git-cstage = git_crecord.main:main
+
+[flake8]
+doctests = yes
+exclude = .*,build,dist,__pycache__
+max-line-length = 130
+ignore =
+ E261,E127,E128,
+ W503,W504,
+ D300,D400,
+ D100,D101,D102,D103,D104,D105,D107,
+ D205,D209,
+
+[isort]
+multi_line_output = 3
+include_trailing_comma = yes
+reverse_relative = yes
[egg_info]
tag_build =