Skip to content

Commit

Permalink
removed unused ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed May 2, 2024
1 parent 6232279 commit 344df6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 30 deletions.
8 changes: 0 additions & 8 deletions .vscode/settings.json

This file was deleted.

30 changes: 8 additions & 22 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,33 +1,19 @@
install:
@echo "Installing package and required dependencies"
pip install -e .[dev,test,docs]
validate-datasets:
@echo "Validate that all datasets are correctly formatted"
@echo "Note that this command assumed you have the 'dfm-data' folder and the github repo folder 'danish-foundation-models' during UCloud setup"
python data-processing/scripts/dataset_validator.py --dataset_folder /work/dfm-data/pre-training --datasheets_folder /work/danish-foundation-models/docs/datasheets

test:
@echo "Running tests"
pytest src
data-processing-install:
@echo "Installing package and required dependencies"
pip install -e "data-processing/.[dev,test,docs]"

lint:
@echo "Linting code"
ruff check src --fix
black .

type-check:
@echo "Type-checking code-base"
pyright src

validate:
@echo "Running all checks"
make lint
make type-check
make test

pr:
@echo "Running relevant checks before PR"
make validate
gh pr create -w

docs-serve:
@echo "Serving documentation"
@echo "Make sure you have installed docs:"
@echo "pip install -e .[docs]"
@echo "pip install -r docs/requirements.txt"
mkdocs serve

0 comments on commit 344df6b

Please sign in to comment.