Skip to content

Commit

Permalink
Apply latests updates from old repo
Browse files Browse the repository at this point in the history
  • Loading branch information
saratomaz committed Nov 20, 2024
1 parent 01fb586 commit 4371df6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion db_sync_tests/scripts/postgres-start.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion db_sync_tests/tests/full_sync_from_clean_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def main():
NODE_DIR=clone_repo('cardano-node', node_version_from_gh_action)
os.chdir(NODE_DIR)
execute_command("nix build -v .#cardano-node -o cardano-node-bin")
execute_command("nix build -v --debug .#cardano-cli -o cardano-cli-bin")
execute_command("nix-build -v -A cardano-cli -o cardano-cli-bin")

print("--- Node setup")
copy_node_executables(build_method="nix")
Expand Down
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# linting
mypy
pre-commit
pylint
pylint==2.15.5
types-PyYAML
types-requests

18 changes: 18 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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]
Expand All @@ -29,3 +46,4 @@ install_requires =
pymysql
requests
setuptools >= 60.5.0

0 comments on commit 4371df6

Please sign in to comment.