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

Some code grooming #2276

Merged
merged 3 commits into from
Jul 17, 2023
Merged

Some code grooming #2276

merged 3 commits into from
Jul 17, 2023

Conversation

svyatonik
Copy link
Contributor

most of #2498

I've added:

  • warn(missing_docs) for all crates that are "exported" to the Cumulus repo;
  • removed workarounds for some old nightly clippy version that are now obsolete;
  • removed obsolete deny rules.

… added missing documentation + removed obsolete clippy/deny workarounds
@svyatonik svyatonik added the A-chores Something that has to be done, as part of regular maintenance label Jul 17, 2023
@svyatonik svyatonik requested a review from a team as a code owner July 17, 2023 08:38
Copy link
Contributor

@bkontur bkontur left a comment

Choose a reason for hiding this comment

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

lgmt,
And do we need/want backport this also to polkadot-staging?

@svyatonik
Copy link
Contributor Author

lgmt, And do we need/want backport this also to polkadot-staging?

I'd avoid that - imo let's not push commits that are not strongly necessary there. We can update that later, during next "big merge" step.

@svyatonik svyatonik merged commit 059347f into master Jul 17, 2023
@svyatonik svyatonik deleted the public-code-grooming branch July 17, 2023 09:26
svyatonik pushed a commit that referenced this pull request Jul 17, 2023
…2289)

* Brigehub: Add in force upgrade xcm version.

(Same as assets and collectives)

* [Fix] Allow force_xcm_version call for assets parachains (#2276)

* add force_xcm_version to safe calls (#2284)

* Removing duplication

---------

Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
svyatonik added a commit that referenced this pull request Dec 27, 2023
* some code grooming: enable warn(missing_docs) for all piblic crates + added missing documentation + removed obsolete clippy/deny workarounds

* removed strange allow + added comment related to other allow

* removed incorrect_clone_impl_on_copy_type which is unknown to CI clippy
svyatonik added a commit that referenced this pull request Dec 28, 2023
* some code grooming: enable warn(missing_docs) for all piblic crates + added missing documentation + removed obsolete clippy/deny workarounds

* removed strange allow + added comment related to other allow

* removed incorrect_clone_impl_on_copy_type which is unknown to CI clippy
svyatonik added a commit that referenced this pull request Jan 11, 2024
* introduce bp_messages::ChainWithMessages (#2171)

* Move Chain::ID from relay-level Chain to primitives-level Chain (#2181)

* move Chain::ID from relay-level Chain to primitives-level Chain

* removed chain IDs from bp-runtime

* add missing file header

* Some code grooming (#2276)

* some code grooming: enable warn(missing_docs) for all piblic crates + added missing documentation + removed obsolete clippy/deny workarounds

* removed strange allow + added comment related to other allow

* removed incorrect_clone_impl_on_copy_type which is unknown to CI clippy
serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Mar 27, 2024
* introduce bp_messages::ChainWithMessages (paritytech#2171)

* Move Chain::ID from relay-level Chain to primitives-level Chain (paritytech#2181)

* move Chain::ID from relay-level Chain to primitives-level Chain

* removed chain IDs from bp-runtime

* add missing file header

* Some code grooming (paritytech#2276)

* some code grooming: enable warn(missing_docs) for all piblic crates + added missing documentation + removed obsolete clippy/deny workarounds

* removed strange allow + added comment related to other allow

* removed incorrect_clone_impl_on_copy_type which is unknown to CI clippy
serban300 pushed a commit to serban300/parity-bridges-common that referenced this pull request Apr 8, 2024
* introduce bp_messages::ChainWithMessages (paritytech#2171)

* Move Chain::ID from relay-level Chain to primitives-level Chain (paritytech#2181)

* move Chain::ID from relay-level Chain to primitives-level Chain

* removed chain IDs from bp-runtime

* add missing file header

* Some code grooming (paritytech#2276)

* some code grooming: enable warn(missing_docs) for all piblic crates + added missing documentation + removed obsolete clippy/deny workarounds

* removed strange allow + added comment related to other allow

* removed incorrect_clone_impl_on_copy_type which is unknown to CI clippy
bkontur pushed a commit that referenced this pull request May 7, 2024
* some code grooming: enable warn(missing_docs) for all piblic crates + added missing documentation + removed obsolete clippy/deny workarounds

* removed strange allow + added comment related to other allow

* removed incorrect_clone_impl_on_copy_type which is unknown to CI clippy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-chores Something that has to be done, as part of regular maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants