Skip to content

Commit

Permalink
Squashing History for OSS Release (#38)
Browse files Browse the repository at this point in the history
Co-authored-by: Amey Agrawal <[email protected]>
  • Loading branch information
anmolagarwalcp810 and AgrawalAmey committed Jul 8, 2024
1 parent afd137a commit a1ed612
Show file tree
Hide file tree
Showing 111 changed files with 2,300,827 additions and 2,108 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy Sphinx documentation to Pages

on:
push:
branches: [main] # branch to trigger deployment

jobs:
pages:
runs-on: ubuntu-20.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
contents: read
pages: write
id-token: write
steps:
- id: deployment
uses: sphinx-notes/pages@v3
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Run linter"
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
packages: write
defaults:
run:
shell: bash -l {0}
jobs:
sanity_check:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: "Install dependencies"
run: pip install -r requirements-dev.txt
- name: "Run black lint"
run: make lint/black
- name: "Run isort check"
run: make lint/isort
24 changes: 18 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ scripts/nodes.txt
**/cifar-10-batches-bin/

# Generated documentation files
/doc/_build
/doc/source/_static/thumbs
/doc/source/tune/generated_guides/
/doc/source/**/doc/
/docs/_build
/docs/source/_static/thumbs
/docs/source/tune/generated_guides/
/dosc/source/**/doc/

# User-specific stuff:
.idea/**/workspace.xml
Expand Down Expand Up @@ -204,7 +204,6 @@ project-id
.mypy_cache/

# release test related
.anyscale.yaml
test_state.json

# workflow storage
Expand Down Expand Up @@ -244,4 +243,17 @@ output/
result_outputs/

__pycache__
**/__pycache__/
**/__pycache__/

env/
benchmark_results/
benchmark_test_dir/
profile_dir*
temp*
experiment*
wandb/
prefill_outputs/
prefill_experiments/
cap_experiments/
experiments/
experiments_*
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.PHONY: help lint lint/black lint/isort format format/black format/isort
.DEFAULT_GOAL := help

lint/black: ## check style with black
black --check metron

lint/isort: ## check style with isort
isort --check-only --profile black metron

lint: lint/black lint/isort ## check style

format/black: ## format code with black
black metron

format/isort: ## format code with isort
isort --profile black metron

format: format/isort format/black ## format code
3 changes: 1 addition & 2 deletions NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[Project Name]
Copyright 2023-onwards Anyscale, Inc.
Copyright 2024-onwards Systems for AI Lab, Georgia Institute of Technology.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit a1ed612

Please sign in to comment.