Skip to content

Commit

Permalink
Update dependencies and add tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
chelnak committed Nov 14, 2022
1 parent 23c978b commit dd5108a
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 66 deletions.
20 changes: 20 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/terrencepreilly/darglint
rev: master
hooks:
- id: darglint
127 changes: 68 additions & 59 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "status-cake-exporter"
version = "0.1.0"
version = "0.2.0"
description = ""
authors = ["Craig Gumbley <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "status_cake_exporter"}]

[tool.mypy]
[[tool.mypy.overrides]]
module = [ "textual.*", "pyfiglet.*", "textual_inputs.*", "fast_autocomplete.*", "validators.*",]
ignore_missing_imports = true
[tool.pyright]
include = ["status_cake_exporter"]
reportMissingImports = false

[tool.poetry.dependencies]
python = "^3.10"
prometheus-client = "0.15.0"
statuscake-py = "^1.0.1b1"
typer = "^0.7.0"

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
flake8 = "^5.0.4"
black = "^22.10.0"
pre-commit = "^2.20.0"
mypy = "^0.990"
pyright = "^1.1.279"
isort = "^5.10.1"
darglint = "^1.8.1"

Expand Down

0 comments on commit dd5108a

Please sign in to comment.