From 225a10d65d35b3b394a56bc6cb0d5456ca0cf6ca Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:48:55 +0000 Subject: [PATCH] Apply updates from cookiecutter This automated commit applies the latest updates from our cookiecutters [1] to this repo. [1]: https://github.com/hypothesis/cookiecutters --- .github/workflows/slack.yml | 2 +- .gitignore | 3 ++- pyproject.toml | 6 +----- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/slack.yml b/.github/workflows/slack.yml index c36e9c86..8818ff1e 100644 --- a/.github/workflows/slack.yml +++ b/.github/workflows/slack.yml @@ -1,7 +1,7 @@ name: Slack on: workflow_run: - workflows: [CI, Deploy, Report refresh] + workflows: [CI, Deploy] types: [completed] branches: [main] jobs: diff --git a/.gitignore b/.gitignore index eed3989e..8575ffec 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -build +/build coverage node_modules yarn-error.log @@ -11,3 +11,4 @@ supervisord.pid .DS_Store .devdata* .eslintcache +*.tsbuildinfo diff --git a/pyproject.toml b/pyproject.toml index 2c079d5a..930810f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,7 @@ filterwarnings = [ "ignore:^pkg_resources is deprecated as an API:DeprecationWarning:pyramid", "ignore:^Deprecated call to .pkg_resources\\.declare_namespace\\('.*'\\).\\.:DeprecationWarning:pkg_resources", "ignore:^'cgi' is deprecated and slated for removal in Python 3\\.13$:DeprecationWarning:webob", + "ignore:^datetime\\.datetime\\.utcnow\\(\\) is deprecated and scheduled for removal in a future version\\.:DeprecationWarning", ] [tool.pydocstyle] @@ -147,11 +148,6 @@ disable_error_code = [ "import-untyped", ] -exclude = [ - # The actual "data_task" run on a schedule are a nightmare for mypy - "report/data_tasks/report" -] - [[tool.mypy.overrides]] module= [ # Don't try to typecheck the tests for now