Skip to content

Commit

Permalink
rename module
Browse files Browse the repository at this point in the history
  • Loading branch information
ajshedivy committed Apr 19, 2024
1 parent cff59d9 commit 82dc637
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ When you're ready to contribute code to address an open issue, please follow the

We also strive to maintain high test coverage, so most contributions should include additions to [the unit tests](https://github.com/ajshedivy/python-sc/tree/main/tests). These tests are run with [`pytest`](https://docs.pytest.org/en/latest/), which you can use to locally run any test modules that you've added or changed.

For example, if you've fixed a bug in `python_sc/a/b.py`, you can run the tests specific to that module with
For example, if you've fixed a bug in `python_wsdb/a/b.py`, you can run the tests specific to that module with

pytest -v tests/a/b_test.py

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ body:
```python
# All necessary imports at the beginning
import python_sc
import python_wsdb
# A succinct reproducing example trimmed down to the essential parts:
assert False is True, "Oh no!"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
branches:
- main
paths:
- 'python_sc/**'
- 'python_wsdb/**'

jobs:
changelog:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.PHONY : docs
docs :
rm -rf docs/build/
sphinx-autobuild -b html --watch python_sc/ docs/source/ docs/build/
sphinx-autobuild -b html --watch python_wsdb/ docs/source/ docs/build/

.PHONY : run-checks
run-checks :
isort --check .
black --check .
ruff check .
mypy .
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ python_sc/
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ python_wsdb/

.PHONY : build
build :
Expand Down
2 changes: 1 addition & 1 deletion RELEASE_PROCESS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Steps

1. Update the version in `python_sc/version.py`.
1. Update the version in `python_wsdb/version.py`.

3. Run the release script:

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ exclude = [
include-package-data = true

[tool.setuptools.package-data]
python_sc = ["py.typed"]
python_wsdb = ["py.typed"]

[tool.setuptools.dynamic]
version = {attr = "python_sc.version.VERSION"}
version = {attr = "python_wsdb.version.VERSION"}

[tool.black]
line-length = 100
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

TAG=$(python -c 'from python_sc.version import VERSION; print("v" + VERSION)')
TAG=$(python -c 'from python_wsdb.version import VERSION; print("v" + VERSION)')

read -p "Creating new release for $TAG. Do you want to continue? [Y/n] " prompt

Expand Down

0 comments on commit 82dc637

Please sign in to comment.