Skip to content

Commit 40ce6f8

Browse files
mlxdringo-but-quantummaliasadi
authored
Silence warnings for NDPermuter file (#750)
### Before submitting Please complete the following checklist when submitting a PR: - [ ] All new features must include a unit test. If you've fixed a bug or added code that should be tested, add a test to the [`tests`](../tests) directory! - [ ] All new functions and code must be clearly commented and documented. If you do make documentation changes, make sure that the docs build and render correctly by running `make docs`. - [ ] Ensure that the test suite passes, by running `make test`. - [ ] Add a new entry to the `.github/CHANGELOG.md` file, summarizing the change, and including a link back to the PR. - [ ] Ensure that code is properly formatted by running `make format`. When all the above are checked, delete everything above the dashed line and fill in the pull request template. ------------------------------------------------------------------------------------------------------------ **Context:** This silences the warnings issued from codefactor for the NDPermuter class. **Description of the Change:** As above. **Benefits:** Prevents false warnings in other PRs **Possible Drawbacks:** May miss opportunity for improvements to this class. **Related GitHub Issues:** --------- Co-authored-by: ringo-but-quantum <[email protected]> Co-authored-by: Ali Asadi <[email protected]>
1 parent 6ca460a commit 40ce6f8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pennylane_lightning/core/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
Version number (major.minor.patch[-label])
1717
"""
1818

19-
__version__ = "0.37.0-dev24"
19+
__version__ = "0.37.0-dev25"

pennylane_lightning/core/src/utils/NDPermuter.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
#include "Error.hpp"
2929

30+
// NOLINTBEGIN
3031
// LCOV_EXCL_START
3132
namespace Pennylane::Util {
3233

@@ -295,3 +296,4 @@ template <size_t BLOCKSIZE = 1024> class DefaultPermuter {
295296

296297
} // namespace Pennylane::Util
297298
// LCOV_EXCL_END
299+
// NOLINTEND

0 commit comments

Comments
 (0)