mirror of https://github.com/mamba-org/mamba.git
Update pre-commit versions (#2178)
This commit is contained in:
parent
0fd665e7bd
commit
6e4011c38d
|
@ -1,7 +1,7 @@
|
|||
exclude: libmamba/tests/repodata_json_cache*
|
||||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.10.0
|
||||
rev: 22.12.0
|
||||
hooks:
|
||||
- id: black
|
||||
args: [--safe, --quiet]
|
||||
|
@ -11,7 +11,7 @@ repos:
|
|||
- id: blacken-docs
|
||||
additional_dependencies: [black==22.3.0]
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
rev: v4.4.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
|
@ -32,7 +32,7 @@ repos:
|
|||
- id: isort
|
||||
exclude: tests/data
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: 5.0.4
|
||||
rev: 6.0.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
language_version: python3
|
||||
|
@ -42,7 +42,7 @@ repos:
|
|||
- flake8-bugbear==22.10.27
|
||||
- flake8-isort==5.0.0
|
||||
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||
rev: v14.0.6
|
||||
rev: v15.0.6
|
||||
hooks:
|
||||
- id: clang-format
|
||||
args: [--style=file]
|
||||
|
|
|
@ -473,7 +473,8 @@ namespace validate
|
|||
std::vector<fs::u8path> possible_update_files();
|
||||
|
||||
virtual std::unique_ptr<RepoIndexChecker> build_index_checker(
|
||||
const std::string& url, const fs::u8path& cache_path) const = 0;
|
||||
const std::string& url, const fs::u8path& cache_path) const
|
||||
= 0;
|
||||
|
||||
protected:
|
||||
RootRole(std::shared_ptr<SpecBase> spec);
|
||||
|
|
|
@ -1592,9 +1592,8 @@ namespace mamba
|
|||
{
|
||||
assert(false);
|
||||
}
|
||||
else if constexpr (std::is_same_v<
|
||||
Node,
|
||||
PackageListNode> || std::is_same_v<Node, ConstraintListNode>)
|
||||
else if constexpr (std::is_same_v<Node, PackageListNode>
|
||||
|| std::is_same_v<Node, ConstraintListNode>)
|
||||
{
|
||||
write_pkg_repr(tn);
|
||||
if (tn.status)
|
||||
|
|
Loading…
Reference in New Issue