Skip to content

Commit

Permalink
Finish rebrand to reqless
Browse files Browse the repository at this point in the history
  • Loading branch information
tdg5 committed Apr 6, 2024
1 parent 2cdca52 commit f12d808
Show file tree
Hide file tree
Showing 58 changed files with 411 additions and 479 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
source venv/bin/activate
pip install .[all]
pip uninstall -y qless-with-throttles
pip uninstall -y reqless
pip freeze > requirements.txt
if ! `git diff --quiet`; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/other-check-quality-and-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
source venv/bin/activate
pip install .[all]
pip uninstall -y qless-with-throttles
pip uninstall -y reqless
pip freeze > requirements.txt
if ! `git diff --quiet`; then
echo "pip freeze caused file changes, failing!"
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ venv/
junk/

# Auto-generated
qless/__version__.py
reqless/__version__.py
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "qless/qless-core"]
[submodule "reqless/qless-core"]
path = reqless/qless-core
url = https://github.com/tdg5/qless-core.git
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ repos:
name: black
language: system
entry: black
args: ["qless", "qmore", "qless_test"]
args: ["reqless", "qmore", "reqless_test"]
types: [python]
- id: flake8
name: flake8
language: python
entry: flake8p
args: ["qless", "qmore", "qless_test"]
args: ["reqless", "qmore", "reqless_test"]
types: [python]
additional_dependencies:
- darglint
Expand All @@ -32,18 +32,18 @@ repos:
name: Mypy check
entry: mypy
language: system
args: ["qless", "qmore", "qless_test"]
args: ["reqless", "qmore", "reqless_test"]
pass_filenames: false
- id: isort
name: isort
entry: isort
args: ["qless", "qmore", "qless_test"]
args: ["reqless", "qmore", "reqless_test"]
language: system
- id: removestar
name: removestar
language: system
entry: removestar
args: ["-i", "qless", "qmore", "qless_test"]
args: ["-i", "reqless", "qmore", "reqless_test"]
types: [python]
- id: safety-production-dependencies-check
name: Safety production dependencies check
Expand All @@ -56,9 +56,9 @@ repos:
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: qless/lua|qless/qless-core
exclude: reqless/lua|reqless/qless-core
- id: end-of-file-fixer
exclude: README.md|VERSION|qless/lua|qless/qless-core
exclude: README.md|VERSION|reqless/lua|reqless/qless-core
- id: check-docstring-first
- id: debug-statements
- id: name-tests-test
Expand Down
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ clean:

.PHONY: qless-core
qless-core:
# Ensure qless is built
make -C qless/qless-core/
cp qless/qless-core/qless.lua qless/lua/
cp qless/qless-core/qless-lib.lua qless/lua/
# Ensure qless-core is built
make -C reqless/qless-core/
cp reqless/qless-core/qless.lua reqless/lua/
cp reqless/qless-core/qless-lib.lua reqless/lua/

.PHONY: nose
nose: qless-core
nosetests --with-coverage

requirements:
pip freeze | grep -v -e qless-py > requirements.txt
pip freeze | grep -v -e reqless > requirements.txt

.PHONY: test
test: nose
Expand Down
Loading

0 comments on commit f12d808

Please sign in to comment.