diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-18 14:27:00 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-18 14:27:00 -0800 |
commit | ead6d0cbbea5101ce9565b773938242348287eec (patch) | |
tree | 6a58c9661493d51ca565e0fd50498e44e589ef7a | |
parent | 44789527744ab54b4ed5cf52c88a464a9d34ef2a (diff) | |
download | fatcat-scholar-ead6d0cbbea5101ce9565b773938242348287eec.tar.gz fatcat-scholar-ead6d0cbbea5101ce9565b773938242348287eec.zip |
add missing dotfiles (due to gitignore oops)
-rw-r--r-- | .coveragerc | 3 | ||||
-rw-r--r-- | .flake8 | 6 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | .pylintrc | 14 |
4 files changed, 28 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..e31022e --- /dev/null +++ b/.coveragerc @@ -0,0 +1,3 @@ +[run] +source = + fatcat_scholar @@ -0,0 +1,6 @@ +[flake8] +select = C,E,F,W,ANN +ignore = F405,F403,W503,E231,E203,E501,E226,E711,E713,E265,ANN101,ANN204,ANN102 +max-complexity = 20 +exclude = .git,__pycache__,.venv +max-line-length = 120 @@ -21,5 +21,10 @@ _build/ src/build/ *.log +!.flake8 +!.gitlab-ci.yml +!.pylintrc +!.coveragerc + # Don't ignore this file itself !.gitignore diff --git a/.pylintrc b/.pylintrc new file mode 100644 index 0000000..80e203d --- /dev/null +++ b/.pylintrc @@ -0,0 +1,14 @@ +[MESSAGES CONTROL] +# TODO: should re-enable some of these +disable=C0323,W0142,C0301,C0103,C0111,E0213,C0302,C0203,W0703,R0201,W0223,bad-continuation,arguments-differ,unidiomatic-typecheck,unused-wildcard-import,no-member,cyclic-import,too-few-public-methods,wildcard-import,too-many-locals,too-many-ancestors,unused-import + +[REPORTS] +output-format=colorized +include-ids=yes + +[MISCELLANEOUS] +# List of note tags to take in consideration, separated by a comma. +notes=FIXME,XXX,DELETEME + +[TYPECHECK] +ignored-modules=responses |