Compare commits
10 Commits
ec94d632f3
...
7d8e8c9ac2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d8e8c9ac2 | ||
|
|
7c2466b739 | ||
|
|
3146cb56dd | ||
|
|
c09b0a3bbf | ||
|
|
e05acccd77 | ||
|
|
c44abad531 | ||
|
|
817d70e669 | ||
|
|
03f5a7fd16 | ||
|
|
3d9b96a94f | ||
|
|
42c16024a2 |
7
.github/CONTRIBUTING.md
vendored
7
.github/CONTRIBUTING.md
vendored
@@ -57,6 +57,13 @@ We welcome ideas for improvements and new features. To suggest an enhancement, o
|
||||
5. Push your branch to your fork on GitHub.
|
||||
6. Open a new pull request against the `main` branch of the axolotl repository. Include a clear and concise description of your changes, referencing any related issues.
|
||||
|
||||
#### Skipping CI Checks
|
||||
|
||||
You can skip certain CI checks by including specific keywords in your commit messages:
|
||||
|
||||
- `[skip ci]` or `skip ci` - Skips all CI checks for that commit
|
||||
- `[skip-e2e]` or `skip-e2e` - Skips only end-to-end tests while running other CI checks
|
||||
|
||||
## Style Guidelines
|
||||
|
||||
### Code Style
|
||||
|
||||
2
.github/workflows/preview-docs.yml
vendored
2
.github/workflows/preview-docs.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
- '**/*.qmd' # any Quarto file
|
||||
- '_quarto.yml'
|
||||
- docs/scripts/generate_config_docs.py
|
||||
- src/axolotl/**/*.py
|
||||
- src/axolotl/utils/schemas/**.py
|
||||
|
||||
permissions:
|
||||
checks: write
|
||||
|
||||
@@ -67,16 +67,12 @@ def build_command(base_cmd: list[str], options: dict[str, Any]) -> list[str]:
|
||||
|
||||
def generate_config_files(config: str, sweep: str | None) -> Iterator[tuple[str, bool]]:
|
||||
"""
|
||||
Generate list of configuration files to process.
|
||||
Generate list of configuration files to process. Yields a tuple of the configuration file name and a boolean indicating
|
||||
whether this is a group of configurations (i.e., a sweep).
|
||||
|
||||
Args:
|
||||
config: Base configuration file
|
||||
sweep: Sweep configuration file
|
||||
|
||||
Yields:
|
||||
tuple[str, bool]: (config_file, is_group)
|
||||
- config_file: configuration file path
|
||||
- is_group: whether this is a group of configurations
|
||||
"""
|
||||
|
||||
if not sweep:
|
||||
|
||||
Reference in New Issue
Block a user