Skip to content

Commit

Permalink
introduce src/nebari layout
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier committed May 3, 2023
1 parent 051767b commit 6099b80
Show file tree
Hide file tree
Showing 337 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/infracost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Infracost CI
on:
pull_request:
paths:
- 'nebari/template/stages/02-infrastructure'
- 'src/nebari/template/stages/02-infrastructure'
- '.github/workflows/infracost.yml'
workflow_call:
inputs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/kubernetes_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- "tests_deployment/**"
- "tests_e2e/**"
- "scripts/**"
- "nebari/**"
- "src/nebari/**"
- "setup.cfg"
- "pyproject.toml"
- "pytest.ini"
Expand All @@ -23,7 +23,7 @@ on:
- "tests_deployment/**"
- "tests_e2e/**"
- "scripts/**"
- "nebari/**"
- "src/nebari/**"
- "setup.cfg"
- "pyproject.toml"
- "pytest.ini"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- "tests_deployment/**"
- "tests_e2e/**"
- "scripts/**"
- "nebari/**"
- "src/nebari/**"
- "setup.cfg"
- "pyproject.toml"
push:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- "tests_deployment/**"
- "tests_e2e/**"
- "scripts/**"
- "nebari/**"
- "src/nebari/**"
- "setup.cfg"
- "pyproject.toml"
- "pytest.ini"
Expand All @@ -23,7 +23,7 @@ on:
- "tests_deployment/**"
- "tests_e2e/**"
- "scripts/**"
- "nebari/**"
- "src/nebari/**"
- "setup.cfg"
- "pyproject.toml"
- "pytest.ini"
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_build

# setuptools scm
nebari/_version.py
src/nebari/_version.py

# ignore terraform state
.terraform
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ repos:
- id: check-json
- id: check-yaml
# jinja2 templates for helm charts
exclude: "nebari/template/stages/07-kubernetes-services/modules/kubernetes/services/(clearml/chart/templates/.*|prefect/chart/templates/.*)"
exclude: "src/nebari/template/stages/07-kubernetes-services/modules/kubernetes/services/(clearml/chart/templates/.*|prefect/chart/templates/.*)"
args: [--allow-multiple-documents]
- id: check-toml
# Lint: Checks that non-binary executables have a proper shebang.
- id: check-executables-have-shebangs
exclude: "^nebari/template/"
exclude: "^src/nebari/template/"

- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
Expand All @@ -54,7 +54,7 @@ repos:
rev: 23.3.0
hooks:
- id: black
args: ["--line-length=88", "--exclude=/nebari/template/"]
args: ["--line-length=88", "--exclude=/src/nebari/template/"]

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.260
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
include = ["nebari"]
packages = ["src/nebari"]

[tool.hatch.version]
source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "nebari/_version.py"
version-file = "src/nebari/_version.py"
local_scheme = "node-and-timestamp"


Expand Down Expand Up @@ -98,7 +98,7 @@ ignore = [
"F821", # Undefined name
]
extend-exclude = [
"nebari/template",
"src/nebari/template",
"docs/source/conf.py",
"docs",
"home",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added src/nebari/template/__init__.py
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Loading

0 comments on commit 6099b80

Please sign in to comment.