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

Add ability to mark @moduledoc false as failures as well as missing @… #42

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

balexandr
Copy link

Added the ability to mark hidden docs i.e. @moduledoc false as a failure
Added an empty Map as a check to confirm if a module doc is missing
Updated README
Added Test

@akoutmos
Copy link
Owner

Thanks for the contribution! Really appreciate it :). I'll take a look some time this week and merge this one in as well as cut a new release!

@balexandr
Copy link
Author

Added the ability to mark hidden docs i.e. @moduledoc false as a failure

Any update on this? Was going to hopefully throw it in my company's mix file instead of forking it!

@balexandr
Copy link
Author

Just following up!

@yordis
Copy link

yordis commented Mar 30, 2023

@balexandr do you mind taking a look at the failing jobs? 🙏🏻

Bryan Alexander added 2 commits April 19, 2023 13:34
# Conflicts:
#	lib/module_report.ex
#	test/module_report_test.exs
@balexandr
Copy link
Author

@yordis Updated, tests passing locally.

@balexandr
Copy link
Author

ping @yordis @akoutmos

Copy link
Owner

@akoutmos akoutmos left a comment

Choose a reason for hiding this comment

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

One small comment and also it looks like CI is failing. Other than that the PR looks great!

README.md Outdated
@@ -129,7 +129,8 @@ the default Doctor settings. The default file contents are:
raise: false,
reporter: Doctor.Reporters.Full,
struct_type_spec_required: true,
umbrella: false
umbrella: false,
include_hidden_doc: false
Copy link
Owner

Choose a reason for hiding this comment

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

Thoughts on renaming the option to fail_hidden_doc instead? I think that makes it more clear what the option does.

Copy link
Author

Choose a reason for hiding this comment

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

@akoutmos Updated nomenclature, this error seems odd, locally it doesn't hit.

~/C/doctor ❯❯❯ MIX_ENV=test mix test                                                                                                                         add-hidden-doc-config
............................................
Finished in 0.4 seconds (0.1s async, 0.2s sync)
44 tests, 0 failures

Copy link
Author

Choose a reason for hiding this comment

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

I reverted the reorganization so let's see where it fails now even though it fails for me locally now.

@balexandr
Copy link
Author

Updated!

@inoas-nbw
Copy link

inoas-nbw commented Apr 3, 2024

@akoutmos any change to review the PRs, merge some and cut a new release? Maybe a 1.0 for now (just to go with semver)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants