Skip to content

Commit

Permalink
Rename repo and module
Browse files Browse the repository at this point in the history
  • Loading branch information
bsweger committed Aug 21, 2024
1 parent 517935d commit 7e177b0
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Developers will be using a Python virtual environment that:
2. Change to the repo's root directory:

```bash
cd standardize-repo-settings
cd reichlab-repo-utils
```

3. Make sure the correct version of Python is currently active, and create a Python virtual environment:
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "standardize-repo-settings"
name = "reichlab-repo-utils"
description = "Standardize GitHub repository settings"
license = {text = "MIT License"}
readme = "README.md"
Expand All @@ -25,15 +25,15 @@ dev = [
]

[project.entry-points."console_scripts"]
add_default_rulesets = "standardize_repo_settings.add_repo_rulesets:main"
archive_repos = "standardize_repo_settings.archive_repos:main"
add_default_rulesets = "reichlab_repo_utils.add_repo_rulesets:main"
archive_repos = "reichlab_repo_utils.archive_repos:main"

[build-system]
# Minimum requirements for the build system to execute.
requires = ["setuptools", "wheel"]

[tools.setuptools]
packages = ["standardize_repo_settings"]
packages = ["reichlab_repo_utils"]

[tool.ruff]
line-length = 120
Expand All @@ -46,4 +46,4 @@ inline-quotes = "double"
quote-style = "double"

[tool.setuptools.dynamic]
version = {attr = "standardize_repo_settings.__version__"}
version = {attr = "reichlab_repo_utils.__version__"}
14 changes: 7 additions & 7 deletions requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ markdown-it-py==3.0.0
mdurl==0.1.2
# via markdown-it-py
mypy==1.10.0
# via standardize-repo-settings (pyproject.toml)
# via reichlab-repo-utils (pyproject.toml)
mypy-extensions==1.0.0
# via mypy
nodeenv==1.8.0
Expand All @@ -33,23 +33,23 @@ platformdirs==4.2.1
pluggy==1.5.0
# via pytest
pre-commit==3.7.0
# via standardize-repo-settings (pyproject.toml)
# via reichlab-repo-utils (pyproject.toml)
pygments==2.18.0
# via rich
pytest==8.2.0
# via standardize-repo-settings (pyproject.toml)
# via reichlab-repo-utils (pyproject.toml)
pyyaml==6.0.1
# via pre-commit
requests==2.32.3
# via standardize-repo-settings (pyproject.toml)
# via reichlab-repo-utils (pyproject.toml)
rich==13.7.1
# via standardize-repo-settings (pyproject.toml)
# via reichlab-repo-utils (pyproject.toml)
ruff==0.4.3
# via standardize-repo-settings (pyproject.toml)
# via reichlab-repo-utils (pyproject.toml)
setuptools==72.1.0
# via nodeenv
structlog==24.1.0
# via standardize-repo-settings (pyproject.toml)
# via reichlab-repo-utils (pyproject.toml)
typing-extensions==4.11.0
# via mypy
urllib3==2.2.2
Expand Down
6 changes: 3 additions & 3 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ mdurl==0.1.2
pygments==2.18.0
# via rich
requests==2.32.3
# via standardize-repo-settings (pyproject.toml)
# via reichlab-repo-utils (pyproject.toml)
rich==13.7.1
# via standardize-repo-settings (pyproject.toml)
# via reichlab-repo-utils (pyproject.toml)
structlog==24.1.0
# via standardize-repo-settings (pyproject.toml)
# via reichlab-repo-utils (pyproject.toml)
urllib3==2.2.2
# via requests
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import requests
import structlog

from standardize_repo_settings.util.logs import setup_logging
from standardize_repo_settings.util.session import get_session
from reichlab_repo_utils.util.logs import setup_logging
from reichlab_repo_utils.util.session import get_session

setup_logging()
logger = structlog.get_logger()
Expand Down Expand Up @@ -129,7 +129,7 @@ def main():

session = get_session(token)

mod_path = Path(importlib.util.find_spec("standardize_repo_settings").origin).parent
mod_path = Path(importlib.util.find_spec("reichlab_repo_utils").origin).parent
ruleset_path = mod_path / "rulesets" / RULESET_TO_APPLY
branch_ruleset = load_branch_ruleset(str(ruleset_path))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import requests
import structlog

from standardize_repo_settings.util.logs import setup_logging
from standardize_repo_settings.util.session import get_session
from reichlab_repo_utils.util.logs import setup_logging
from reichlab_repo_utils.util.session import get_session

setup_logging()
logger = structlog.get_logger()
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7e177b0

Please sign in to comment.