summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-18 14:27:00 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-18 14:27:00 -0800
commitead6d0cbbea5101ce9565b773938242348287eec (patch)
tree6a58c9661493d51ca565e0fd50498e44e589ef7a
parent44789527744ab54b4ed5cf52c88a464a9d34ef2a (diff)
downloadfatcat-scholar-ead6d0cbbea5101ce9565b773938242348287eec.tar.gz
fatcat-scholar-ead6d0cbbea5101ce9565b773938242348287eec.zip
add missing dotfiles (due to gitignore oops)
-rw-r--r--.coveragerc3
-rw-r--r--.flake86
-rw-r--r--.gitignore5
-rw-r--r--.pylintrc14
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
diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000..8d42ee4
--- /dev/null
+++ b/.flake8
@@ -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
diff --git a/.gitignore b/.gitignore
index 7047762..c8f9c51 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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