Commit Graph

32 Commits

Author SHA1 Message Date
Antoine Prouvost d390bbe80a
Enable and update Python stubs (#3972) 2025-06-05 17:33:50 +02:00
Ayaz Salikhov 6227622587
maint: Add markdownlint pre-commit hook (#3756) 2025-02-21 19:40:59 +01:00
Ayaz Salikhov 9087a976be
maint: Don't exclude Changelog files from typos-conda (#3748) 2025-01-16 09:36:48 +01:00
Ayaz Salikhov 95eb248ee8
maint: Update pre-commit hooks (#3746) 2025-01-15 18:38:36 +01:00
Ayaz Salikhov 8591bbe4fd
maint: Correctly exclude json files in clang-format (#3749) 2025-01-15 18:38:03 +01:00
Ayaz Salikhov d0c7458839
maint: Add prettier pre-commit hook (#3663) 2025-01-13 09:09:07 +01:00
Ayaz Salikhov 99290aeebf
maint: Add pre-commit typos back (#3682) 2024-12-11 12:14:19 +01:00
dann frazier 693ee82c7b
Fix compilation with -Werror=unused-result (#3676)
Signed-off-by: dann frazier <dann.frazier@chainguard.dev>
2024-12-10 09:50:20 +01:00
Ayaz Salikhov f67914ef8a
maint: Add pyupgrade pre-commit hook (#3671) 2024-12-09 17:05:54 +01:00
Ayaz Salikhov ad9b2d6b88
maint: Update clang-format to v19 (#3600) 2024-11-18 17:29:18 +01:00
Ayaz Salikhov 0f4ad44c2e
Update pre-commit hooks except clang-format (#3599) 2024-11-14 10:27:18 +01:00
Hind-M 3e1e97b0e6
Add checking typos to pre-commit (#3278)
* Add checking typos to pre-commit

* Add missed corrections

* Add more corrections to doc
2024-05-27 09:16:14 +02:00
Antoine Prouvost 245de2009e
Update pre-commit hooks" (#3252)
* Update Pre-commit hooks

* Apply updated hook
2024-03-28 16:18:19 +01:00
Antoine Prouvost a00ef35675
Add MatchSpec doc and fix errors (#3224)
* Add missing spec doc

* Add 2.0 changes to doc

* Cleanup spec usage doc

* Remove outdated documentation page

* Fix doc link

* Fix backticks in docs

* Add rst pre-commit checks
2024-03-08 14:44:52 +01:00
Antoine Prouvost 1230b92094
Move to Ruff (#3011)
* Use Ruff LSP

* Remove unused imports

* More Ruff fixes

* Remove unused test vars

* Explicit import

* Explicit import

* Explicit import

* Explicit import

* Explicit import

* Warning fixes

* Import fixtures

* Add ruff pre-commit

* Remove pre-commits checks superceded by ruff

* Fix imports

* Fix ruff warning

* Fix test_linking fixtures

* Fix typo

* Fix test_update fixture import

* Python line-length to 100

* Reformat Python code line length

* Fix typo
2023-11-27 19:10:34 +01:00
Antoine Prouvost 0d42e81667
Modularize libmambapy (#2960)
* Modularize libmambapy

* Add test-libmambapy to Taskfile

* Fix libmamba installation

* Fix standalone libmambapy configuration

* Change libmambapy layout

* Add scikit-build

* Fix libmambapy extension name

* Add submodules shims

* Fix libmambaoy tests

* Fix stubgen

* Adapt libmambapy tests to scikit-build

* Read version from Python

* Replace confusing names
2023-11-10 18:29:16 +01:00
Antoine Prouvost d116ff8917
Add cmake-format (#2962)
* Add cmake-format

* Apply cmake-format
2023-11-07 11:08:26 +01:00
Antoine Prouvost 7c02338cb5
Fix Ci (#2889)
* Pin pre-commit Python version

* update pre-commit config

* Try fix Mamba tests Windows

* use boltons

* Fix channel in tests
2023-10-03 22:20:29 +02:00
Jonas Haag 48d595ae45
Update pre-commit hooks (#2586) 2023-06-13 22:39:50 +02:00
Antoine Prouvost aa8d28c6c5
Structure test directory layout (#2380)
* Clean test layout

* Copy test data before run
2023-03-16 13:41:12 +01:00
Wolf Vollprecht e9695a45cc
use local meta.yaml for static builds (#2214) 2023-01-10 17:45:49 +01:00
Jonas Haag 6e4011c38d
Update pre-commit versions (#2178) 2023-01-09 20:07:14 +01:00
Jonas Haag 5fd5c955d1
Update flake8 pre-commit versions (#2117) 2022-11-15 16:59:29 +01:00
Antoine Prouvost 557e232ff5
Update pre-commit-config (#2092) 2022-11-08 10:43:38 +01:00
Klaim (Joël Lamotte) 048cb67f62
Fix JSON output issues (#1600)
* Fixed: `--json` throwing exceptions in some situations (lockfiles)
* Refactored Console pimpl handling
* Automatic json printing instead of explicit.
* added a way to cancel the print of json log from libmamba, used in mamba which already output the right json;
From now on the json output will be automatically printed at the end of the program
(after `main()` call) instead of explicitly invoked.
2022-04-07 11:17:22 +02:00
Jonas Haag 81f2ffe036
Upgrade pre-commit env (#1602) 2022-03-30 14:56:07 +02:00
Wolf Vollprecht 7f9c5adb77 bump clang-format to 13.0.1 and make it work again 2022-02-22 15:58:47 +01:00
Wolf Vollprecht 7e4c03245b add tests for etag/mod/etc reading in cache 2022-02-11 18:28:43 +01:00
Chris Burr 01a336c0c1 Get clang-format from PyPI and version pre-commit hook 2022-02-01 19:50:46 +01:00
Jonas Haag 3719781cdf Update pre-commit versions 2022-01-29 12:56:15 +01:00
Marcelo Trevisani 98f2530d23 Add cpp linter and fix warnings 2020-08-03 20:04:50 +01:00
Marcelo Trevisani 5c2951cc18 Add pre-commit configuration
Run pre-commit
Fixed small problems
Fixed linters problems

Improve conditional expression
2020-08-02 18:58:09 +01:00