Skip to content

Commit

Permalink
Rename yml files to yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelLefkowitz committed Nov 29, 2024
1 parent 045bbc7 commit 29d13e8
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 15 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
36 changes: 23 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

SCons builders.

![Review](https://img.shields.io/github/actions/workflow/status/JoelLefkowitz/miniscons/review.yml)
![Review](https://img.shields.io/github/actions/workflow/status/JoelLefkowitz/miniscons/review.yaml)
![Version](https://img.shields.io/pypi/v/miniscons)
![Downloads](https://img.shields.io/pypi/dw/miniscons)
![Quality](https://img.shields.io/codacy/grade/97f4a968fe554186b58c2f49903a09f4)
Expand All @@ -19,19 +19,24 @@ When writing an `SConstruct.py` configuration it is difficult to:

We can use `miniscons` to keep the `SConstruct.py` file short and get an interface like this:

```yml
builds: build
```yaml
builds:
build
tests

targets: start -> build
targets:
start -> build
test -> tests

scripts: tidy
scripts:
tidy
clean

routines: lint -> [tidy, clean]
routines:
lint -> [tidy, clean]

flags: --dump
flags:
--dump
```

## Installing
Expand Down Expand Up @@ -146,21 +151,26 @@ scons --dump

We get our interface:

```yml
```yaml
scons: Reading SConscript files ...

builds: build
builds:
build
tests

targets: start -> build
targets:
start -> build
test -> tests

scripts: tidy
scripts:
tidy
clean

routines: lint -> [tidy, clean]
routines:
lint -> [tidy, clean]

flags: --dump
flags:
--dump
```

## Discussion
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ lint = [
"npx cspell . --dot --gitignore",
"pylint src --disable=C0114,C0115,C0116,C0411,C3001 --good-names=x,y,z",
"mypy src --ignore-missing-import",
"trufflehog3",
"trufflehog3 -c .trufflehog3.yaml",
]

format = [
Expand Down
2 changes: 1 addition & 1 deletion src/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
def conan(
defines: list[str] | None = None,
source: str = "SConscript_conandeps",
) -> tuple[Environment, list[str]]:
) -> Environment:
if defines is None:
defines = []

Expand Down

0 comments on commit 29d13e8

Please sign in to comment.