Skip to content

Commit

Permalink
build: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkparekh committed Dec 1, 2023
1 parent 3432571 commit 8edfadf
Show file tree
Hide file tree
Showing 13 changed files with 2,294 additions and 3,805 deletions.
4 changes: 0 additions & 4 deletions .env.example

This file was deleted.

2 changes: 0 additions & 2 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ extend-select =
# Within an except clause, raise exceptions with `raise ... from err` or `raise ...
# from None` to distinguish them from errors in exception handling
B904,
# Alternative to E501 regarding line length
B950,
# Counterpart to W503, enforce having the operator at the start of a new line.
W504,

Expand Down
23 changes: 0 additions & 23 deletions .github/CODEOWNERS

This file was deleted.

20 changes: 0 additions & 20 deletions .github/dependabot.yml

This file was deleted.

10 changes: 6 additions & 4 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ on:
types: [opened, reopened, synchronize, ready_for_review]
branches:
- main
push:
branches: [main]

env:
PYTHON_VERSION: 3.9

jobs:
changes:
name: Check for Python file changes
runs-on: self-hosted
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
outputs:
python: ${{steps.filter.outputs.python}}
Expand All @@ -37,7 +39,7 @@ jobs:
name: Type check Python
needs: [changes]
if: ${{needs.changes.outputs.python == 'true' && !github.event.pull_request.draft }}
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -113,7 +115,7 @@ jobs:
name: Lint Python
needs: [changes]
if: ${{needs.changes.outputs.python == 'true' && !github.event.pull_request.draft }}
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -172,7 +174,7 @@ jobs:
format:
name: Format
runs-on: self-hosted
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
main:
name: Validate PR title
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Validate PR title
uses: amannn/action-semantic-pull-request@v5
Expand Down
83 changes: 0 additions & 83 deletions .github/workflows/releases.yml

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
workflow_call:
pull_request:
branches: [main]
push:
branches: [main]

env:
PYTHON_VERSION: 3.9
Expand All @@ -18,7 +20,7 @@ env:
jobs:
changes:
name: Check for Python file changes
runs-on: self-hosted
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
outputs:
python: ${{steps.filter.outputs.python}}
Expand All @@ -43,7 +45,7 @@ jobs:
run:
shell: bash

runs-on: self-hosted
runs-on: ubuntu-latest
needs: [changes]
if: ${{needs.changes.outputs.python == 'true' && !github.event.pull_request.draft }}
steps:
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,jetbrains+all,python,jupyternotebooks,node,data,images,video

.rtx.toml

# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,jetbrains+all,python,jupyternotebooks,node,data,images,video

### Data ###
Expand Down Expand Up @@ -407,7 +410,7 @@ target/
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
Expand Down
6 changes: 0 additions & 6 deletions .mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,5 @@ show_column_numbers = true
show_error_codes = true
pretty = false

plugins = pydantic.mypy

[mypy-tests.*]
disallow_untyped_defs = false

[pydantic-mypy]
init_typed = true
warn_untyped_fields = true
1 change: 0 additions & 1 deletion .python-version

This file was deleted.

Loading

0 comments on commit 8edfadf

Please sign in to comment.