Skip to content

Commit c6c2446

Browse files
chore: add minor changes (#657)
* build: add vscode to .gitignore file * build: remove mock and replace raven with sentry-sdk * docs: fix typos * ci: remove travis config file
1 parent 025a53f commit c6c2446

File tree

5 files changed

+5
-36
lines changed

5 files changed

+5
-36
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ django_rq.egg-info/
1111
*.rdb
1212
# pycharm
1313
.idea
14+
.vscode
1415
Pipfile.lock

.travis.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

django_rq/tests/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def tearDown(self):
110110
def test_get_connection_default(self):
111111
"""
112112
Test that get_connection returns the right connection based for
113-
`defaut` queue.
113+
`default` queue.
114114
"""
115115
config = QUEUES['default']
116116
connection = get_connection()

django_rq/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_scheduler_pid(queue):
2323
It Only works with RQ's Built-in RQScheduler.
2424
When RQ-Scheduler is available returns False
2525
If not, it checks the RQ's RQScheduler for a scheduler lock in the desired queue
26-
Note: result might have some delay (1-15 minutes) but it helps visualizing whether the setup is working correcly
26+
Note: result might have some delay (1-15 minutes) but it helps visualizing whether the setup is working correctly
2727
'''
2828
try:
2929
# first try get the rq-scheduler

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
package_data={'': ['README.rst']},
1717
install_requires=['django>=3.2', 'rq>=1.14', 'redis>=3'],
1818
extras_require={
19-
'Sentry': ['raven>=6.1.0'],
20-
'testing': ['mock>=2.0.0'],
19+
'Sentry': ['sentry-sdk>=1.0.0'],
20+
'testing': [],
2121
},
2222
classifiers=[
2323
'Development Status :: 4 - Beta',

0 commit comments

Comments
 (0)