Skip to content

Commit f0a90f2

Browse files
committed
Added SECURITY.md, edited workflow
1 parent 3dfc34c commit f0a90f2

9 files changed

Lines changed: 21 additions & 180 deletions

File tree

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
runs-on:
11+
runs-on:
1212
labels: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
@@ -32,5 +32,5 @@ jobs:
3232
echo "Running black: https://github.com/psf/black"
3333
echo "Black should pass before commit! If this fails, run the command on the next line to fix the errors, then commit the changes"
3434
echo "git ls-files | grep "\.py$" | xargs black"
35-
echo "Run 'pip install .' if you do not have Black installed locally."
36-
git ls-files | grep "\.py$" | xargs black --check
35+
echo "Run 'pip install -e .' if you do not have Black installed locally."
36+
git ls-files | grep "\.py$" | xargs black --check

.github/workflows/python-publish.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/release-drafter.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
run: python -c "import sys; print(sys.version)"
3232
- name: Install dependencies
3333
run: |
34-
python -m pip install . --upgrade pip
34+
python - m pip install --upgrade pip
35+
python -m pip install 'litgpt[all,test,extra]'
36+
python -m pip install .
3537
- name: Test with pytest
3638
run: |
3739
pytest -vvv --cov=./ --cov-report=xml

.github/workflows/update-changelog.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

SECURITY.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Reporting Security Issues
2+
3+
Amazon Web Services (AWS) is dedicated to the responsible disclosure of security vulnerabilities.
4+
5+
We kindly ask that you do not open a public GitHub issue to report security concerns.
6+
7+
Instead, please submit the issue to the AWS Vulnerability Disclosure Program via [HackerOne](https://hackerone.com/aws_vdp?type=team) or send your report via email:
8+
`aws-security@amazon.com`.
9+
10+
For more details, visit the [AWS Vulnerability Reporting Page](https://aws.amazon.com/security/vulnerability-reporting/).
11+
12+
Thank you in advance for collaborating with us to help protect our customers.

docs/develop_on_gpu.md

Lines changed: 0 additions & 94 deletions
This file was deleted.

githooks/pre_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# runs black only on all python files committed in git
33
echo "Running black."
4-
git ls-files | grep "\.py$" | xargs black
4+
git ls-files | grep "\.py$" | xargs black
55

66
if [ $? -ne 0 ]; then
77
echo "Black should pass before commit!"

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ scripts.keys_values = "keys_values.__main__:main"
2323
dependencies = [
2424
"torchao",
2525
"filelock",
26+
"black",
27+
"flake8",
2628
]
2729

2830
[tool.setuptools.packages.find]

0 commit comments

Comments
 (0)