-
Notifications
You must be signed in to change notification settings - Fork 0
Add Sysdig SDK #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
304c06e
to
7c11d2e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: S3B4SZ17 <[email protected]>
.github/workflows/publish.yaml
Outdated
|
||
- name: Run ruff | ||
run: | | ||
uvx ruff check --fix --config ruff.toml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's extract all those targets into a makefile so it's easier to maintain and execute locally.
make lint
make test
...
run: | | ||
uv run pytest --cov=. --cov-report=xml | ||
|
||
- name: Extract version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's split this into a different job that depends on the previous. This way we can execute the previous one locally with act
.
.pre-commit-config.yaml
Outdated
- id: ruff-format | ||
name: Ruff Format | ||
description: Format code with ruff. | ||
entry: bash -c 'uvx ruff format --config ruff.toml' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In here we could use the previous mentioned make fmt
entry: bash -c 'uvx ruff format --config ruff.toml' | ||
language: system | ||
stages: ["commit", "push"] | ||
- id: ruff-check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here make lint
CODEOWNERS
Outdated
# the repo. Unless a later match takes precedence, | ||
# @S3B4SZ17 @alecron and @sysdiglabs/sysdig-training will be requested for | ||
# review when someone opens a pull request. | ||
* @S3B4SZ17 @alecron @sysdiglabs/sysdig-training |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to specify the single contributors and just leave the team. It's easier to maintain if there are movements in the org.
@@ -0,0 +1,287 @@ | |||
# Exclude a variety of commonly ignored directories. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDK if this is required. Let's check without it, because it eases the maintenance.
No description provided.