From a8a3c1e5feb1756ab07be04aad6fb6e5c921e79e Mon Sep 17 00:00:00 2001 From: saratomaz Date: Wed, 20 Nov 2024 10:29:36 +0000 Subject: [PATCH] Apply latests updates from old repo --- db_sync_tests/scripts/postgres-start.sh | 2 +- requirements-dev.txt | 3 ++- setup.cfg | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/db_sync_tests/scripts/postgres-start.sh b/db_sync_tests/scripts/postgres-start.sh index f50a6436..a34f876f 100755 --- a/db_sync_tests/scripts/postgres-start.sh +++ b/db_sync_tests/scripts/postgres-start.sh @@ -1,4 +1,4 @@ -#! /usr/bin/env -S nix develop --accept-flake-config .#postgres -i -k PGHOST -k PGPORT -k PGUSER -c bash +#! /usr/bin/env -S nix develop --accept-flake-config github:input-output-hk/cardano-node-tests#postgres -i -k PGHOST -k PGPORT -k PGUSER -c bash # shellcheck shell=bash set -euo pipefail diff --git a/requirements-dev.txt b/requirements-dev.txt index 0f89e9b8..d545e539 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,6 +3,7 @@ # linting mypy pre-commit -pylint +pylint==2.15.5 types-PyYAML types-requests + diff --git a/setup.cfg b/setup.cfg index ae1ebb57..b0ad32d7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,19 @@ +[flake8] +ignore = E128,E811,W503,E203,PT001,PT004,PT007,PT012,PT018,PT023,PL123 +max_line_length = 100 + +[pydocstyle] +inherit = false +# google convention + D413 +ignore = D10,D203,D212,D213,D214,D215,D404,D405,D406,D407,D408,D409,D410,D411,D413 +match = .*\.py + +[rstcheck] +ignore_directives = + automodule, + mdinclude, +ignore_messages=(Undefined substitution referenced: \":) + [metadata] name = cardano-sync-tests url = https://github.com/IntersectMBO/cardano-sync-tests @@ -11,6 +27,7 @@ classifiers = Programming Language :: Python :: 3 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 Intended Audience :: Developers [options] @@ -29,3 +46,4 @@ install_requires = pymysql requests setuptools >= 60.5.0 +