Skip to content

Commit

Permalink
update template
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Aug 28, 2023
1 parent 3964e70 commit 5864aff
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/iterative/cookiecutter-dvc-plugin",
"commit": "b5468040d24fba172720eaa61fb37dab48bda808",
"commit": "d98b3c3d7a00a8277dd6ae2acd6d7a8fd7c68a11",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ ci:
skip: [mypy, pylint]

repos:
- hooks:
- id: no rej
name: Check for .rej files
entry: .rej files found, fix conflicts from these rejected files.
language: fail
files: \.rej$
- hooks:
- id: black
language_version: python3
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ load-plugins = ["pylint_pytest"]

[tool.pylint.message_control]
disable = [
"format", "refactoring", "spelling", "design", "no-self-use",
"invalid-name", "misplaced-comparison-constant", "duplicate-code", "fixme",
"format", "refactoring", "spelling", "design",
"invalid-name", "duplicate-code", "fixme",
"unused-wildcard-import", "cyclic-import", "wrong-import-order",
"wrong-import-position", "ungrouped-imports", "multiple-imports",
"logging-format-interpolation", "logging-fstring-interpolation",
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ tests =
collective.checkdocs==0.2
pydocstyle==6.1.1
# pylint requirements
pylint==2.11.1
pylint==2.16.2
# we use this to suppress pytest-related false positives in our tests.
pylint-pytest==1.1.2
# we use this to suppress some messages in tests, eg: foo/bar naming,
# and, protected method calls in our tests
pylint-plugin-utils==0.6
# type-checking
mypy==0.910
mypy==0.981
types-requests==2.25.11
types-tabulate==0.8.3
types-toml==0.10.1
Expand Down
10 changes: 10 additions & 0 deletions setup.cfg.rej
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff a/setup.cfg b/setup.cfg (rejected hunks)
@@ -40,7 +40,7 @@ tests =
pytest-xdist==2.4.0
pytest-mock==3.6.1
pytest-lazy-fixture==0.6.3
- pytest-docker==0.10.3
+ pytest-docker>=1,<2
flaky==3.7.0
mock==4.0.3
wget==3.2

0 comments on commit 5864aff

Please sign in to comment.