Skip to content

Conversation

alanmcruickshank
Copy link
Member

@alanmcruickshank alanmcruickshank commented Oct 22, 2024

This adds a section on the config API to the internal API docs section. For the docs, most of this is delegated to autodoc, but that highlighted that many of the methods on the FluffConfig object were pretty poorly documented, so the bulk of this PR is additional docstrings for those methods.

In the process, there's a little bit of improved typing in a few of the methods, with few knock-on effects in the dict helpers and a few other places. That includes cutting back some of the available options on some of the classmethods for FluffConfig, which either weren't used, or didn't make much sense.

I think this resolves #6038 and resolves #5061 too.

Copy link
Contributor

github-actions bot commented Oct 23, 2024

Coverage Results ✅

Name    Stmts   Miss  Cover   Missing
-------------------------------------
TOTAL   18629      0   100%

236 files skipped due to complete coverage.

@alanmcruickshank alanmcruickshank marked this pull request as ready for review October 23, 2024 01:11
@alanmcruickshank alanmcruickshank merged commit 48fcb75 into main Oct 29, 2024
30 checks passed
@alanmcruickshank alanmcruickshank deleted the ac/api_config_docs branch October 29, 2024 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant