Skip to content

Commit fa7df50

Browse files
authored
Merge pull request #145 from ACCLAB/vnbdev
Merging v.nbdev branch to master
2 parents 4909b82 + 5305ec2 commit fa7df50

325 files changed

Lines changed: 18176 additions & 9363 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Deploy to GitHub Pages
2+
3+
permissions:
4+
contents: write
5+
pages: write
6+
7+
on:
8+
push:
9+
branches: [ "main", "master" ]
10+
workflow_dispatch:
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
steps: [uses: fastai/workflows/quarto-ghp@master]

.github/workflows/test-image.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Python pytest
2+
on: [workflow_dispatch, pull_request, push]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
- uses: actions/setup-python@v4
10+
with:
11+
python-version: 3.9
12+
cache: "pip"
13+
cache-dependency-path: settings.ini
14+
- name: Run pytest
15+
run: |
16+
python -m pip install --upgrade pip
17+
pip install .[dev]
18+
pytest nbs/tests/

.github/workflows/test.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: CI
2+
on: [workflow_dispatch, pull_request, push]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
steps: [uses: fastai/workflows/nbdev-ci@master]

.gitignore

Lines changed: 53 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
1+
_docs/
2+
_proc/
3+
4+
*.bak
5+
.gitattributes
6+
.last_checked
7+
.gitconfig
8+
*.bak
9+
*.log
10+
*~
11+
~*
12+
_tmp*
13+
tmp*
14+
tags
15+
*.pkg
16+
117
# Byte-compiled / optimized / DLL files
218
__pycache__/
3-
.idea/*
419
*.py[cod]
520
*$py.class
621

@@ -9,6 +24,7 @@ __pycache__/
924

1025
# Distribution / packaging
1126
.Python
27+
env/
1228
build/
1329
develop-eggs/
1430
dist/
@@ -24,7 +40,6 @@ wheels/
2440
*.egg-info/
2541
.installed.cfg
2642
*.egg
27-
MANIFEST
2843

2944
# PyInstaller
3045
# Usually these files are written by a python script from a template
@@ -46,16 +61,13 @@ nosetests.xml
4661
coverage.xml
4762
*.cover
4863
.hypothesis/
49-
.pytest_cache/
5064

5165
# Translations
5266
*.mo
5367
*.pot
5468

5569
# Django stuff:
5670
*.log
57-
.static_storage/
58-
.media/
5971
local_settings.py
6072

6173
# Flask stuff:
@@ -83,14 +95,13 @@ celerybeat-schedule
8395
# SageMath parsed files
8496
*.sage.py
8597

86-
# Environments
98+
# dotenv
8799
.env
100+
101+
# virtualenv
88102
.venv
89-
env/
90103
venv/
91104
ENV/
92-
env.bak/
93-
venv.bak/
94105

95106
# Spyder project settings
96107
.spyderproject
@@ -105,30 +116,36 @@ venv.bak/
105116
# mypy
106117
.mypy_cache/
107118

108-
# Add more below here. #
109-
110-
# dev files
111-
dev*
112-
113-
# DS_Store
114-
*.DS_Store
115-
**/.DS_Store
116-
117-
# font list
118-
fontList.json
119-
fontList.py3k.cache
120-
fontList-v300.json
121-
122-
# tex folders
123-
tex.cache/
124-
.Rproj.user
125-
testtt.py
126-
real.py
127-
0to2_beforeduringafter.csv
128-
129-
TEST.ipynb
130-
TrhCsCh.csv
131-
Untitled.ipynb
132-
tt.py
133-
# Visual Studio
134-
.vscode/
119+
.vscode
120+
*.swp
121+
122+
# osx generated files
123+
.DS_Store
124+
.DS_Store?
125+
.Trashes
126+
ehthumbs.db
127+
Thumbs.db
128+
.idea
129+
130+
# pytest
131+
.pytest_cache
132+
133+
# tools/trust-doc-nbs
134+
docs_src/.last_checked
135+
136+
# symlinks to fastai
137+
docs_src/fastai
138+
tools/fastai
139+
140+
# link checker
141+
checklink/cookies.txt
142+
143+
# .gitconfig is now autogenerated
144+
.gitconfig
145+
146+
# Quarto installer
147+
.deb
148+
.pkg
149+
150+
# Quarto
151+
.quarto

.pre-commit-config.yaml.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
repos:
2+
- repo: https://github.com/fastai/nbdev
3+
rev: 2.2.10
4+
hooks:
5+
- id: nbdev_clean
6+
- id: nbdev_export

.travis.yml

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

CODE_OF_CONDUCT.md

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

CONTRIBUTING.md

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

0 commit comments

Comments
 (0)