-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/jsalt18-sentence-repl/jiant
- Loading branch information
Showing
142 changed files
with
8,267 additions
and
8,740 deletions.
There are no files selected for viewing
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,33 @@ | ||
# Python CircleCI 2.0 configuration file | ||
version: 2.1 | ||
jobs: | ||
test: | ||
docker: | ||
- image: continuumio/miniconda3 | ||
|
||
working_directory: ~/repo | ||
|
||
steps: | ||
# Step 1: obtain repo from GitHub | ||
- checkout | ||
# Step 2: create virtual env and install dependencies | ||
- run: | ||
name: install dependencies | ||
command: | | ||
apt-get update | ||
apt-get install -y cmake build-essential gcc g++ | ||
conda env create -q -f environment.yml | ||
source activate jiant | ||
# Step 3: run tests | ||
- run: | ||
name: run tests | ||
command: | | ||
mkdir ~/repo/test_output | ||
source activate jiant | ||
python -m nltk.downloader perluniprops nonbreaking_prefixes punkt | ||
nose2 -v | ||
workflows: | ||
version: 2 | ||
test: | ||
jobs: | ||
- test |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ glue_data/ | |
user_config.sh | ||
.idea | ||
.ipynb_checkpoints/ | ||
perluniprops/ |
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
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,10 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.1.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: check-yaml | ||
- repo: https://github.com/ambv/black | ||
rev: 19.3b0 | ||
hooks: | ||
- id: black |
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,8 @@ | ||
- id: black | ||
name: black | ||
description: 'Black: The uncompromising Python code formatter' | ||
entry: black | ||
language: python | ||
language_version: python3 | ||
require_serial: true | ||
types: [python] |
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
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
Oops, something went wrong.