Skip to content

Commit

Permalink
Add dunderscore attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
padix-key committed Dec 20, 2024
1 parent 7e92135 commit 41f1037
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/biotite/setup_ccd.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
__author__ = "Patrick Kunzmann"
__all__ = []

import gzip
import logging
from collections import defaultdict
Expand Down
3 changes: 3 additions & 0 deletions tests/test_modname.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ def find_all_modules(package_name, src_dir):
"""
module_names = []
for _, module_name, is_package in pkgutil.iter_modules([src_dir]):
if module_name == "setup_ccd":
# This module is not intended to be imported
continue
full_module_name = f"{package_name}.{module_name}"
if is_package:
module_names.extend(
Expand Down

0 comments on commit 41f1037

Please sign in to comment.