Skip to content

Commit

Permalink
Merge pull request #16 from cr0hn/chore/monthly-maintainance-jan-2020
Browse files Browse the repository at this point in the history
Chore/monthly maintainance jan 2020
  • Loading branch information
ZhukovGreen committed Jan 31, 2020
2 parents 891c625 + 827ef23 commit 290944e
Show file tree
Hide file tree
Showing 8 changed files with 201 additions and 174 deletions.
32 changes: 18 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,39 @@
exclude: >
(?x)^(
migrations/.*|
tests/data/.*|
.*\.svg
)$
minimum_pre_commit_version: 1.13.0
minimum_pre_commit_version: "1.13.0"
repos:
- repo: https://github.com/ambv/black
rev: 19.10b0
- repo: https://github.com/psf/black
rev: "19.10b0"
hooks:
- id: black
args: [--line-length=79]
exclude: ^tests/.*$
name: Format code (black)

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
rev: "v2.4.0"
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9

- repo: https://gitlab.com/PyCQA/flake8
rev: "3.7.9"
hooks:
- id: flake8
name: Lint code (flake8)
additional_dependencies:
- flake8==3.7.9
- flake8-broken-line==0.1.1
- flake8-bugbear==19.8.0
- flake8-builtins==1.4.1
- flake8-comprehensions==3.0.1
- flake8-bugbear==20.1.0
- flake8-builtins==1.4.2
- flake8-comprehensions==3.1.4
- flake8-eradicate==0.2.4
- flake8-import-order==0.18.1
- flake8-mutable==1.2.0
- flake8-quotes==2.1.0
- flake8-pie==0.4.2
- flake8-quotes==2.1.1
- flake8-string-format==0.2.3
- flake8-tidy-imports==3.0.0
- pep8-naming==0.8.2
- flake8-tidy-imports==3.1.0
- pep8-naming==0.9.1
17 changes: 0 additions & 17 deletions CHANGELOG

This file was deleted.

26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 2.0.1 (31 Jan 2020)

## Codebase improvements
- Supports python 3.8
- Monthly maintenance update

# 2.0.0 (30 Jan 2020)

## Features:
- Add possibility to setup custom cache key
- Now the key value being encrypted when
written to Redis

## Bug fix
- Use new style aiohttp middlewares

## Codebase improvements
- Use poetry
- Use pre-commit linters
- Add integration tests including real calls
to redis backend
- Use gitlab ci

# 1.0.0 (11 Nov 2016)

- First release
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7 as base
FROM python:3.8 as base

FROM base as install-poetry
RUN pip install poetry
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.3'
version: '3.7'
services:
tests:
environment:
Expand All @@ -16,6 +16,6 @@ services:
command: pytest

redis:
image: "redis:5.0.6"
image: "redis:5.0.7"
ports:
- "63790:6379"

0 comments on commit 290944e

Please sign in to comment.