diff --git a/setup.cfg b/setup.cfg
index 98a4f54d55da2feae0e1609daa583724d2978e40..6d952083a310db6770cc437dccc7c58a9d4c9702 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -7,3 +7,6 @@ norecursedirs = .git testing_config
 
 [flake8]
 exclude = .venv,.git,.tox,docs,www_static,venv,bin,lib,deps,build
+
+[pydocstyle]
+match_dir = ^((?!\.|www_static).)*$