-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
184 changed files
with
3,797 additions
and
10,784 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# These owners will be the default owners for everything in the repo. | ||
* @cofiem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Bug Report | ||
description: Create a report to help us improve | ||
title: "[Bug]: " | ||
labels: | ||
- bug | ||
assignees: | ||
- cofiem | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the problem | ||
description: A summary of the problem you've seen. | ||
placeholder: Tell us what you see! | ||
value: "e.g. When the program is given these arguments, it does this action I don't want ..." | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: Steps to reproduce the behavior | ||
description: Your step-by-step guide to help use reproduce the problem. | ||
placeholder: Tell us what you see! | ||
value: "e.g. Run using these arguments ... Look in at the output in this folder ..." | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected behavior | ||
description: What do you expect to happen? | ||
placeholder: Tell us what you want to see! | ||
value: "e.g. Run using these arguments ... should do this ..." | ||
validations: | ||
required: true | ||
- type: input | ||
id: program-details | ||
attributes: | ||
label: Program Details | ||
description: What operating system and what version of the program is being used? | ||
placeholder: "e.g. OS: [e.g. iOS], Program version [e.g. 2.1]" | ||
validations: | ||
required: false | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please attach any screenshots or logging output to help explain your problem. | ||
Thanks for taking the time to fill out this bug report! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Feature Request | ||
description: Suggest an idea for this project | ||
title: "[Feature]: " | ||
labels: | ||
- enhancement | ||
assignees: | ||
- cofiem | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the feature | ||
description: A summary of the new functionality you'd like | ||
placeholder: Tell us what you want to see! | ||
value: "e.g. It would be nice to be able to do this and get this output ..." | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: alternative | ||
attributes: | ||
label: Are there other approaches? | ||
description: Any alternative solutions or features you've considered | ||
placeholder: Tell us what else could be done | ||
value: "e.g. Your program could interact with this other program like this ..." | ||
validations: | ||
required: true | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please attach any screenshots or other files to help explain your feature. | ||
Thanks for taking the time to fill out this feature request! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
target-branch: "main" | ||
open-pull-requests-limit: 3 | ||
|
||
# Maintain dependencies for pip packages | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
target-branch: "main" | ||
commit-message: | ||
prefix: "pip stable" | ||
prefix-development: "pip dev" | ||
open-pull-requests-limit: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
documentation: | ||
- docs/**/* | ||
|
||
dependencies: | ||
- requirements.txt | ||
- requirements-dev.txt | ||
- pyproject.toml | ||
- MANIFEST.in | ||
|
||
tests: | ||
- tests/**/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Automatically generate release notes | ||
# .github/release.yml | ||
# see https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes | ||
|
||
changelog: | ||
categories: | ||
- title: New Features | ||
labels: | ||
- enhancement | ||
- title: Bug Fixes | ||
labels: | ||
- bug | ||
- title: Documentation changes | ||
labels: | ||
- documentation | ||
- title: Dependency updates | ||
labels: | ||
- dependencies |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
name: Code Analysis | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
schedule: | ||
- cron: '40 0 * * 1' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ "python" ] | ||
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11.0-rc.1" ] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: pip | ||
|
||
- name: Install dependencies | ||
run: | | ||
echo "::group::Pip dependencies" | ||
python -m pip install --upgrade pip setuptools wheel | ||
python -m pip install --upgrade -r requirements-dev.txt -r requirements.txt | ||
echo "::endgroup::" | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
setup-python-dependencies: false | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
|
||
- name: Install snyk to check for vulnerabilities | ||
uses: snyk/actions/setup@master | ||
|
||
- name: Run Snyk over the runtime dependencies | ||
run: snyk test --sarif-file-output=snyk-requirements-${{ matrix.language }}.sarif --command=python --file=requirements.txt --package-manager=pip --skip-unresolved | ||
continue-on-error: true | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
|
||
- name: Upload Snyk runtime dependencies scan result to GitHub Code Scanning | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: snyk-requirements-${{ matrix.language }}.sarif | ||
category: requirements-runtime-${{ matrix.language }} | ||
|
||
- name: Run Snyk over the development dependencies | ||
run: snyk test --sarif-file-output=snyk-requirements-dev-${{ matrix.language }}.sarif --command=python --file=requirements-dev.txt --package-manager=pip --skip-unresolved | ||
continue-on-error: true | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
|
||
- name: Upload Snyk development dependencies scan result to GitHub Code Scanning | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: snyk-requirements-dev-${{ matrix.language }}.sarif | ||
category: requirements-dev-${{ matrix.language }} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.