Skip to content

Commit

Permalink
feat(infra): nox setup and envt for repo'
Browse files Browse the repository at this point in the history
  • Loading branch information
lwasser committed Sep 27, 2024
1 parent c4f363e commit 717914b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,14 @@ dmypy.json
# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# ignore jupyter notebooks
# ignore jupyter notebooks given we use jupytext for cleaner difs on md files
*.ipynb
**.ipynb**

# ignore local sphinx build dir
_build/*
_build/*
# PyCharm
.idea/
.vscode/*


3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ dependencies:
- black
- ruff
- isort
- jupyterlab_code_formatter
- jupyterlab_code_formatter
- jupytext
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def docs_live(session):
so they don't need to remember the specific sphinx-build parameters to build a different language.
"""
session.install("-e", ".[dev]")
session.install("-r", "requirements.txt")
if not os.path.exists(OUTPUT_DIR):
os.makedirs(OUTPUT_DIR)
# Make sure jupy text syncs things
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pandas

0 comments on commit 717914b

Please sign in to comment.