Skip to content

Commit

Permalink
Various project configuration changes
Browse files Browse the repository at this point in the history
  • Loading branch information
intgr committed Jul 19, 2021
1 parent 5c5d311 commit 65c7a5a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ defining-attr-methods=__init__,__new__
deprecated-modules=regsub,TERMIOS,Bastion,rexec

[FORMAT]
max-line-length=79
max-line-length=88
max-module-lines=5000

[MISCELLANEOUS]
Expand Down
13 changes: 5 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,19 @@ install: build
$(PYTHON) setup.py install $(PREFIX_ARG)

dist:
TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" \
$(PYTHON) setup.py -q sdist
$(PYTHON) -m build
$(PYTHON) -m twine check dist/*

upload: dist
$(PYTHON) setup.py upload
$(PYTHON) -m twine upload dist/*

tests:
@echo "There aren't any tests yet!" >& 2 && exit 1

coverage: tests

# E261: two spaces before inline comment
# E301: expected blank line
# E302: two new lines between functions/etc.
pep8:
pep8 --ignore=E261,E301,E302 --repeat dogslow_sentry setup.py
black:
black dogslow_sentry tests setup.py

pyflakes:
pyflakes dogslow_sentry setup.py
Expand Down
21 changes: 0 additions & 21 deletions bitbucket-pipelines.yml

This file was deleted.

5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ def long_description():
keywords="django debug watchdog middleware traceback sentry",
license="GNU LGPL",
long_description=long_description(),
long_description_content_type="text/x-rst",
name="dogslow-sentry",
packages=["dogslow_sentry"],
url="https://bitbucket.org/evzijst/dogslow",
url="https://github.com/intgr/dogslow-sentry",
install_requires=["django>=2.2", "sentry-sdk>=1.0"],
version="2.0",
version="2.0.0b1",
)
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[tox]
envlist = py{37,38,39}-dj{22,30,32}

[pytest]
python_files = tests.py

[testenv]
# See https://www.djangoproject.com/download/ for list of Django releases
# And https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
Expand All @@ -11,4 +14,4 @@ deps =
dj22: Django~=2.2.0
dj30: Django~=3.0.0
dj32: Django~=3.2.0
commands = py.test tests/tests.py
commands = pytest

0 comments on commit 65c7a5a

Please sign in to comment.