-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
127 changed files
with
1,686 additions
and
1,365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[settings] | ||
known_third_party = Queue,alerta,alerta_azuremonitor,alerta_msteamswebhook,alerta_sentry,alerta_slack,alertaclient,boto,cachetclient,consul,dateutil,dingtalkchatbot,flask,google,influxdb,jinja2,kombu,mailer,matterhook,mock,op5,pymsteams,pytest,pyzabbix,requests,settings,setuptools,telepot,twilio,yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/mirrors-autopep8 | ||
rev: v1.5.1 | ||
hooks: | ||
- id: autopep8 | ||
- repo: https://github.com/pre-commit/pre-commit-hooks.git | ||
rev: v2.5.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-ast | ||
- id: check-byte-order-marker | ||
- id: check-case-conflict | ||
- id: check-docstring-first | ||
- id: check-json | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: double-quote-string-fixer | ||
- id: end-of-file-fixer | ||
- id: fix-encoding-pragma | ||
args: ['--remove'] | ||
- id: pretty-format-json | ||
args: ['--autofix'] | ||
- id: name-tests-test | ||
args: ['--django'] | ||
exclude: ^tests/helpers/ | ||
- id: requirements-txt-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 3.9.2 | ||
hooks: | ||
- id: flake8 | ||
args: ['--config=setup.cfg', '--ignore=E501'] | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v1.27.0 | ||
hooks: | ||
- id: pyupgrade | ||
args: ['--py3-plus'] | ||
- repo: https://github.com/asottile/seed-isort-config | ||
rev: v1.9.4 | ||
hooks: | ||
- id: seed-isort-config | ||
- repo: https://github.com/pre-commit/mirrors-isort | ||
rev: v4.3.21 | ||
hooks: | ||
- id: isort |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,4 +63,3 @@ Yoshiharu Mori <[email protected]> | |
Карамышев Степан <[email protected]> | ||
|
||
$ git log --format='%aN <%aE>' | sort -f | uniq | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,4 +96,3 @@ License | |
------- | ||
|
||
Copyright (c) 2014-2020 Nick Satterly and [AUTHORS](AUTHORS). Available under the MIT License. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
|
||
from setuptools import setup | ||
|
||
version = '1.1.1' | ||
|
||
setup( | ||
name="alerta-consul", | ||
name='alerta-consul', | ||
version=version, | ||
description='Send emails from Alerta', | ||
url='https://github.com/alerta/alerta-contrib', | ||
license='MIT', | ||
author='Marco Supino', | ||
author_email='[email protected]', | ||
py_modules=['consulalerta','consulheartbeat'], | ||
py_modules=['consulalerta', 'consulheartbeat'], | ||
install_requires=[ | ||
'alerta', | ||
'python-consul' | ||
|
@@ -24,7 +23,7 @@ | |
'consul-heartbeat = consulheartbeat:main' | ||
] | ||
}, | ||
keywords="alerta monitoring consul", | ||
keywords='alerta monitoring consul', | ||
classifiers=[ | ||
'Topic :: System :: Monitoring', | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.