Skip to content

Commit

Permalink
Version 1.0.0 release (#168)
Browse files Browse the repository at this point in the history
* Version 1.0.0 release

* Version 1.0.0 release
  • Loading branch information
sobolevn authored Oct 12, 2020
1 parent cd96189 commit b872063
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 36 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: test

on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}

- name: Install poetry
run: |
curl -sSL \
"https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py" | python
# Adding `poetry` to `$PATH`:
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Set up cache
uses: actions/cache@v1
with:
path: .venv
key: venv-${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install
- name: Run tests
run: |
poetry run flake8 .
poetry run mypy flake8_eradicate.py
poetry run pytest
poetry check
poetry run pip check
poetry run safety check --full-report
- name: Upload coverage to Codecov
if: matrix.python-version == 3.8
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@
We follow Semantic Versions since the `0.1.0` release.


## 1.0.0

### Features

- Adds `python3.9` support
- Now using new `eradicate` API
- Adds `--eradicate-whitelist` and `--eradicate-whitelist-append` options

### Misc

- Moves to Github Actions


## 0.4.0

### Features
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# flake8-eradicate

[![wemake.services](https://img.shields.io/badge/-wemake.services-green.svg?label=%20&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC%2FxhBQAAAAFzUkdCAK7OHOkAAAAbUExURQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP%2F%2F%2F5TvxDIAAAAIdFJOUwAjRA8xXANAL%2Bv0SAAAADNJREFUGNNjYCAIOJjRBdBFWMkVQeGzcHAwksJnAPPZGOGAASzPzAEHEGVsLExQwE7YswCb7AFZSF3bbAAAAABJRU5ErkJggg%3D%3D)](https://wemake.services)
[![Build Status](https://travis-ci.com/sobolevn/flake8-eradicate.svg?branch=master)](https://travis-ci.com/sobolevn/flake8-eradicate)
[![Coverage](https://coveralls.io/repos/github/sobolevn/flake8-eradicate/badge.svg?branch=master)](https://coveralls.io/github/sobolevn/flake8-eradicate?branch=master) [![Python Version](https://img.shields.io/pypi/pyversions/flake8-eradicate.svg)](https://pypi.org/project/flake8-eradicate/)
[![Build Status](https://github.com/sobolevn/flake8-eradicate/workflows/test/badge.svg?branch=master&event=push)](https://github.com/sobolevn/flake8-eradicate/actions?query=workflow%3Atest)
[![codecov](https://codecov.io/gh/sobolevn/flake8-eradicate/branch/master/graph/badge.svg)](https://codecov.io/gh/sobolevn/flake8-eradicate)
[![Python Version](https://img.shields.io/pypi/pyversions/flake8-eradicate.svg)](https://pypi.org/project/flake8-eradicate/)
[![PyPI version](https://badge.fury.io/py/flake8-eradicate.svg)](https://pypi.org/project/flake8-eradicate/)
[![wemake-python-styleguide](https://img.shields.io/badge/style-wemake-000000.svg)](https://github.com/wemake-services/wemake-python-styleguide)

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

[tool.poetry]
name = "flake8-eradicate"
version = "0.4.0"
version = "1.0.0"
description = "Flake8 plugin to find commented out code"

license = "MIT"
Expand All @@ -28,7 +28,7 @@ keywords = [
]

classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 5 - Stable",
"Environment :: Console",
"Framework :: Flake8",
"Intended Audience :: Developers",
Expand Down Expand Up @@ -65,7 +65,8 @@ flake8-super-call = "^1.0"
flake8-debugger = "^3.2"
flake8-isort = "^4.0"
pep8-naming = "^0.11"
zipp = "3.3.0"

mypy = "^0.790"
safety = "^1.9"

zipp = "3.3.0"
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ addopts =
--cov-branch
--cov-report=term:skip-covered
--cov-report=html
--cov-report=xml
--cov-fail-under=100


Expand Down

0 comments on commit b872063

Please sign in to comment.