Skip to content

Commit

Permalink
Pull py_proto into global WORKSPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
shaldengeki committed Feb 26, 2024
1 parent 9d17791 commit 984c337
Show file tree
Hide file tree
Showing 82 changed files with 499 additions and 680 deletions.
2 changes: 1 addition & 1 deletion py_proto/.bazelignore → .bazelignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Bazel
bazel-bin
bazel-out
bazel-py_proto
bazel-monorepo
bazel-rules
bazel-testlogs

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion py_proto/.github/dependabot.yml → .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ updates:
schedule:
interval: "weekly"
- package-ecosystem: "pip"
directory: "/src"
directory: "/src/python"
schedule:
interval: "weekly"
File renamed without changes.
File renamed without changes.
42 changes: 9 additions & 33 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
Expand Down Expand Up @@ -49,7 +50,6 @@ coverage.xml
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
Expand All @@ -72,7 +72,6 @@ instance/
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
Expand All @@ -83,9 +82,7 @@ profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
Expand All @@ -94,22 +91,7 @@ ipython_config.py
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
Expand Down Expand Up @@ -146,15 +128,9 @@ dmypy.json
# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
# Bazel
bazel-bin
bazel-out
bazel-monorepo
bazel-rules
bazel-testlogs
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion py_proto/MODULE.bazel → MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ python.toolchain(
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
python_version = "3.10",
requirements_lock = "//src:requirements.txt",
requirements_lock = "//src/python:requirements.txt",
)
use_repo(pip, "py_proto_deps")

Expand Down
12 changes: 6 additions & 6 deletions py_proto/MODULE.bazel.lock → MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion py_proto/WORKSPACE → WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
workspace(
name = "py_proto",
name = "com_github_shaldengeki_monorepo",
)

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
Expand Down
136 changes: 0 additions & 136 deletions py_proto/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions py_proto/LICENSE

This file was deleted.

Loading

0 comments on commit 984c337

Please sign in to comment.