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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: minor updates to recommend modern PEP8 #2384

Merged

Conversation

alwaysintreble
Copy link
Collaborator

What is this fixing or adding?

Changes the recommendations to use modern PEP8 conventions, such as lower-case modules, and adds typing to all the example methods. Also gives a bit stronger example of options.as_dict and recommends against setting up the world before generate_early

How was this tested?

馃憖

@ScootyPuffJr1 ScootyPuffJr1 added the is: documentation Improvements or additions to documentation. label Oct 27, 2023
Comment on lines 229 to 230
When imported names pile up it may be easier to use `from . import Options`
and access the variable as `Options.MyGameOptions`.
and access the variable as `options.MyGameOptions`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe your change is incomplete

@black-sliver black-sliver merged commit bf8432f into ArchipelagoMW:main Nov 15, 2023
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
* docs: update world api for modern PEP8 conventions

* docs: update options api for modern PEP8 styling

* missed a spot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: documentation Improvements or additions to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants