From 57511d9f900450b0c33294d5780fd4a011aec919 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Thu, 15 Sep 2022 11:51:52 +0200 Subject: [PATCH] README: Add note about dots in package names Closes #58 --- README.rst | 3 +++ setup.cfg | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.rst b/README.rst index 6df741a..a63cbd0 100644 --- a/README.rst +++ b/README.rst @@ -75,6 +75,9 @@ the known modules using a nicer syntax:: [tool.flake8.known-modules] my-lib = ["mylib.drm", "mylib.encryption"] +Note that if the module's name contains dots, you have to quote it in pyproject.toml (e.g. +``"my_namespace.my_lib" = [...]``). + It is also possible to scan host's site-packages directory for installed packages. This feature is disabled by default, but user can enable it with the ``--scan-host-site-packages`` command line option. Please note, however, that the location of the site-packages directory will be determined diff --git a/setup.cfg b/setup.cfg index 354bc3d..e096a8c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,8 @@ [bdist_wheel] universal = 1 +[doc8] +max-line-length = 99 + [isort] force_single_line = true