aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.flake817
-rw-r--r--Pipfile1
-rw-r--r--Pipfile.lock25
3 files changed, 40 insertions, 3 deletions
diff --git a/.flake8 b/.flake8
index a86910e6..e2face09 100644
--- a/.flake8
+++ b/.flake8
@@ -1,6 +1,19 @@
[flake8]
-max-line-length=100
-ignore=S106
+ignore=
+ P102,B311,W503,E226,S311,
+ # Missing Docstrings
+ D100,D104,D107,
+ # Docstring Whitespace
+ D202,D203,D204,D212,D214,D215,
+ # Docstring Quotes
+ D301,D302,
+ # Docstring Content
+ D400,D401,D402,D405,D406,D407,D408,D409,D410,D411,D412,D413,D414
+
+per-file-ignores =
+ **/tests/**:D101,D102,D103,D105,D106,S106
+
application_import_names=pydis_site
exclude=__pycache__, venv, .venv, **/migrations
import-order-style=pycharm
+max-line-length=100
diff --git a/Pipfile b/Pipfile
index 59f660a4..64376c58 100644
--- a/Pipfile
+++ b/Pipfile
@@ -14,6 +14,7 @@ mccabe = "~=0.6.1"
pep8-naming = "~=0.8.2"
coverage = "~=4.5.3"
unittest-xml-reporting = "~=2.5.1"
+flake8-docstrings = "*"
[packages]
django = "~=2.2"
diff --git a/Pipfile.lock b/Pipfile.lock
index 30103336..2e7314e5 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
- "sha256": "78085b805ff9d797c2ce4720c4fc84a91347233b93e4b85615c9833e6b208ed8"
+ "sha256": "1b31f6abe3c7782705e8023d1a53b299e713d19ac31ef2926cba9eb4f4c59efb"
},
"pipfile-spec": 6,
"requires": {
@@ -295,6 +295,14 @@
"index": "pypi",
"version": "==19.3.0"
},
+ "flake8-docstrings": {
+ "hashes": [
+ "sha256:4e0ce1476b64e6291520e5570cf12b05016dd4e8ae454b8a8a9a48bc5f84e1cd",
+ "sha256:8436396b5ecad51a122a2c99ba26e5b4e623bf6e913b0fea0cb6c2c4050f91eb"
+ ],
+ "index": "pypi",
+ "version": "==1.3.0"
+ },
"flake8-import-order": {
"hashes": [
"sha256:90a80e46886259b9c396b578d75c749801a41ee969a235e163cfe1be7afd2543",
@@ -370,6 +378,14 @@
],
"version": "==2.5.0"
},
+ "pydocstyle": {
+ "hashes": [
+ "sha256:2258f9b0df68b97bf3a6c29003edc5238ff8879f1efb6f1999988d934e432bd8",
+ "sha256:5741c85e408f9e0ddf873611085e819b809fca90b619f5fd7f34bd4959da3dd4",
+ "sha256:ed79d4ec5e92655eccc21eb0c6cf512e69512b4a97d215ace46d17e4990f2039"
+ ],
+ "version": "==3.0.0"
+ },
"pyflakes": {
"hashes": [
"sha256:17dbeb2e3f4d772725c777fabc446d5634d1038f234e77343108ce445ea69ce0",
@@ -407,6 +423,13 @@
],
"version": "==2.0.5"
},
+ "snowballstemmer": {
+ "hashes": [
+ "sha256:919f26a68b2c17a7634da993d91339e288964f93c274f1343e3bbbe2096e1128",
+ "sha256:9f3bcd3c401c3e862ec0ebe6d2c069ebc012ce142cce209c098ccb5b09136e89"
+ ],
+ "version": "==1.2.1"
+ },
"stevedore": {
"hashes": [
"sha256:7be098ff53d87f23d798a7ce7ae5c31f094f3deb92ba18059b1aeb1ca9fec0a0",