Skip to content

Commit

Permalink
chore: add minor changes (#657)
Browse files Browse the repository at this point in the history
* build: add vscode to .gitignore file

* build: remove mock and replace raven with sentry-sdk

* docs: fix typos

* ci: remove travis config file
  • Loading branch information
obdulia-losantos authored Apr 13, 2024
1 parent 025a53f commit c6c2446
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 36 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ django_rq.egg-info/
*.rdb
# pycharm
.idea
.vscode
Pipfile.lock
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion django_rq/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def tearDown(self):
def test_get_connection_default(self):
"""
Test that get_connection returns the right connection based for
`defaut` queue.
`default` queue.
"""
config = QUEUES['default']
connection = get_connection()
Expand Down
2 changes: 1 addition & 1 deletion django_rq/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_scheduler_pid(queue):
It Only works with RQ's Built-in RQScheduler.
When RQ-Scheduler is available returns False
If not, it checks the RQ's RQScheduler for a scheduler lock in the desired queue
Note: result might have some delay (1-15 minutes) but it helps visualizing whether the setup is working correcly
Note: result might have some delay (1-15 minutes) but it helps visualizing whether the setup is working correctly
'''
try:
# first try get the rq-scheduler
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
package_data={'': ['README.rst']},
install_requires=['django>=3.2', 'rq>=1.14', 'redis>=3'],
extras_require={
'Sentry': ['raven>=6.1.0'],
'testing': ['mock>=2.0.0'],
'Sentry': ['sentry-sdk>=1.0.0'],
'testing': [],
},
classifiers=[
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit c6c2446

Please sign in to comment.