Skip to content

Commit

Permalink
Remove pylint-quotes and bump eq-translation versions
Browse files Browse the repository at this point in the history
  • Loading branch information
liamtoozer committed Oct 1, 2024
1 parent c1fac47 commit 1353193
Show file tree
Hide file tree
Showing 4 changed files with 101 additions and 32 deletions.
16 changes: 16 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[flake8]
exclude = tests/*
max-line-length = 160
inline-quotes = double
multiline-quotes = double
docstring-quotes = double
avoid-escape = True
ignore =
# Multiple statements of a function definition should be on their own separate lines
E704,

# Line breaks should occur after the binary operator to keep all variable names aligned
W503,

# Colons should not have any space before them
E203,
7 changes: 1 addition & 6 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ limit-inference-results=100

# List of plugins (as comma separated values of python module names) to load,
# usually to register additional checkers.
load-plugins=pylint.extensions.mccabe,pylint_quotes
load-plugins=pylint.extensions.mccabe

# Pickle collected data for later comparisons.
persistent=yes
Expand Down Expand Up @@ -344,11 +344,6 @@ single-line-class-stmt=no
# else.
single-line-if-stmt=no

string-quote=double-avoid-escape
triple-quote=double
docstring-quote=double


[IMPORTS]

# List of modules that can be imported at any level, not just the top level
Expand Down
108 changes: 83 additions & 25 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ eq-translations = {git = "https://github.com/ONSDigital/eq-translations.git", re
black = "*"
isort = "*"
pylint = "*"
pylint_quotes = "*"
flake8-quotes = "*"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit 1353193

Please sign in to comment.