Skip to content

Commit

Permalink
Merge pull request #66 from ImperialCollegeLondon/rm_pytest_flake8
Browse files Browse the repository at this point in the history
Remove deprecated pytest-flake8.
  • Loading branch information
dalonsoa authored Aug 3, 2023
2 parents aa85ac5 + e348654 commit 1f97c6e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 26 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/pycsvy.svg)](https://pypi.python.org/pypi/pycsvy/)
[![PyPI license](https://img.shields.io/pypi/l/pycsvy.svg)](https://pypi.python.org/pypi/pycsvy/)
[![codecov](https://codecov.io/gh/ImperialCollegeLondon/pycsvy/branch/develop/graph/badge.svg?token=N03KYNUD18)](https://codecov.io/gh/ImperialCollegeLondon/pycsvy)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/8d1b791b315f4814a128d94483499561)](https://www.codacy.com/gh/ImperialCollegeLondon/pycsvy/dashboard?utm_source=github.com&utm_medium=referral&utm_content=ImperialCollegeLondon/pycsvy&utm_campaign=Badge_Grade)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/8d1b791b315f4814a128d94483499561)](https://app.codacy.com/gh/ImperialCollegeLondon/pycsvy/dashboard?utm_source=github.com&utm_medium=referral&utm_content=ImperialCollegeLondon/pycsvy&utm_campaign=Badge_Grade)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/ImperialCollegeLondon/pycsvy/develop.svg)](https://results.pre-commit.ci/latest/github/ImperialCollegeLondon/pycsvy/develop)
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
Expand All @@ -26,7 +26,7 @@ dialect](https://specs.frictionlessdata.io/csv-dialect/) used and a [Table
Schema](https://specs.frictionlessdata.io/table-schema/) specifying the contents of each
column to aid the reading and interpretation of the data.

## Instalation
## Installation

'pycsvy' is available in PyPI therefore its installation is as easy as:

Expand Down
1 change: 0 additions & 1 deletion csvy/writers.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ def write_csv(
Returns:
True if the writer worked, False otherwise.
"""
import csv

with open(filename, "a", newline="") as f:
writer = csv.writer(f, **kwargs)
Expand Down
26 changes: 5 additions & 21 deletions poetry.lock

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

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ PyYAML = "^6.0"
[tool.poetry.dev-dependencies]
pytest = "^7.2"
pytest-cov = "^3.0.0"
pytest-flake8 = "^1.1.1"
pytest-mypy = "^0.9.1"
pytest-mock = "^3.7.0"
isort = "^5.10.1"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ test = pytest

[tool:pytest]
addopts =
-v --flake8 --mypy -p no:warnings
-v --mypy -p no:warnings
--cov=csvy --cov-report=html:reports/coverage/html
--cov-report=xml:reports/coverage/coverage.xml
--doctest-modules --ignore=docs/
Expand Down

0 comments on commit 1f97c6e

Please sign in to comment.