Skip to content
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

[GH->HF] Part 2: Remove all dataset scripts from github #4974

Merged
merged 11 commits into from
Oct 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 0 additions & 4 deletions .github/hub/requirements.txt

This file was deleted.

272 changes: 0 additions & 272 deletions .github/hub/update_hub_repositories.py

This file was deleted.

7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
- main

env:
HF_SCRIPTS_VERSION: main
HF_ALLOW_CODE_EVAL: 1

jobs:
Expand All @@ -28,9 +27,9 @@ jobs:
pip install .[quality]
- name: Check quality
run: |
black --check --line-length 119 --target-version py36 tests src benchmarks datasets metrics
isort --check-only tests src benchmarks datasets metrics
flake8 tests src benchmarks datasets metrics
black --check --line-length 119 --target-version py36 tests src benchmarks metrics
isort --check-only tests src benchmarks metrics
flake8 tests src benchmarks metrics

test:
needs: check_code_quality
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/update-hub-repositories.yaml

This file was deleted.

10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
# Check that source code meets quality standards

quality:
black --check --line-length 119 --target-version py37 tests src benchmarks datasets/**/*.py metrics
isort --check-only tests src benchmarks datasets/**/*.py metrics
flake8 tests src benchmarks datasets/**/*.py metrics
black --check --line-length 119 --target-version py37 tests src benchmarks metrics
isort --check-only tests src benchmarks metrics
flake8 tests src benchmarks metrics

# Format source code automatically

style:
black --line-length 119 --target-version py37 tests src benchmarks datasets/**/*.py metrics
isort tests src benchmarks datasets/**/*.py metrics
black --line-length 119 --target-version py37 tests src benchmarks metrics
isort tests src benchmarks metrics

# Run tests for the library

Expand Down
Loading