diff --git a/.flake8 b/.flake8
index 49dab605ff858a82d39ec3d0907895cf01ea0723..30084f6d3b57fda64c4eabec93286d685dbe0ea0 100644
--- a/.flake8
+++ b/.flake8
@@ -1,4 +1,5 @@
 [flake8]
 max-line-length = 99
-exclude = python, run.py
-ignore = E121,E123,E126,E203,E226,E24,E704,W503,N802
+docstring-convention=google
+exclude = python, run.py, tests/*
+ignore = E121,E123,E126,E203,E226,E24,E704,W503,N802,D