Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The prefixes for some methods are too long #1064

Closed
singularitti opened this issue Jul 11, 2019 · 2 comments
Closed

The prefixes for some methods are too long #1064

singularitti opened this issue Jul 11, 2019 · 2 comments

Comments

@singularitti
Copy link

For example I have a package. I nest a module deeply, so the exported functions in that module will have long prefix specifying the module structure, e.g., in this page, numerov_iter shows as
CleanShot 2019-07-11 at 00 30 17@2x. Is that the way the prefix supposed to be? Is there a way for not showing NumericalMethodsInQuantumMechanics? It is apparent that this function is bonded to this package.

@singularitti singularitti changed the title The name for each method is too long The prefixes for some methods are too long Jul 11, 2019
@mortenpi
Copy link
Member

I don't think anything exists to drop the prefix at the moment. In general, I would say that you want the prefix to be there since you want to make it clear what function it is exactly.

But we could consider having an at-meta option that allows you to, say, set the module to which the identifiers should be relative to. I'd be happy to review a PR implementing something like that.

@odow
Copy link
Collaborator

odow commented Oct 31, 2023

Duplicate of #253

@odow odow marked this as a duplicate of #253 Oct 31, 2023
@mortenpi mortenpi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants