Skip to content

Commit

Permalink
docs: Reference PEP 8 section about public interface
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Oct 16, 2024
1 parent dec6018 commit 548d42e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Try to follow as close as possible [semver](https://semver.org/)

I.e. whether things are private or public, including internal relations.

Cf. [importing guidelines](./import.md)
Cf. [importing guidelines](./visibility.md)

## APIs

Expand Down
3 changes: 3 additions & 0 deletions doc/dev/visibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Trying to establish some guidelines about importing and "exporting" things

First and foremost, check PEP 8 [dedicated
section](https://peps.python.org/pep-0008/#public-and-internal-interfaces).

## Internal imports

1. never import from a place which is not supposed to export
Expand Down

0 comments on commit 548d42e

Please sign in to comment.