Add warning for missing documentation #727
Nav izskatītāju
Iezīmes
Nav iezīmju
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
Nav atskaites punkta
Nav projektu
Nav atbildīgo
2 dalībnieki
Paziņojumi
Izpildes datums
Nav uzstādīts izpildes datums.
Atkarības
Nav atkarību.
Atsauce: Plume/Plume#727
Notiek ielāde…
Pievienot tabulu
Atsaukties jaunā pieteikumā
Nav sniegts apraksts.
Izdzēst zaru "missing-docs"
Zara izdzēšana ir neatgriezeniska. Kaut arī izdzēstais zars neilgu laiku var turpināt pastāvēt, pirms tas patiešām tiek noņemts, to vairumā gadījumu NEVAR atsaukt. Turpināt?
To force us to document our code.
I didn't added it to binaries (
src/
andplume-cli/
because it didn't really made sense for them IMO), but I can.Also, to keep this PR small, I propose that we slowly document each function as we modify them in other PRs. Does it seem reasonable to you?
The overall idea sounds reasonable. Considering
src/
(maybeplume-cli
) also contains some non trivial code (remember url! in the custom domain PR?), I think doing it would make sense to apply that on them tooYou should add a feature to all crates, and replace current attribute with
#![cfg_attr(not(feature = "ci"), warn(missing_docs))]
(which would be set in CI). That way it won't fail on the deny(warnings) on clippycan't we add that that somewhere to
clippy
orcheck
?Isn't there a better way to allow just these warnings in clippy?
Codecov Report
Izmaiņu pieprasījums aizvērts