Skip to content

Commit

Permalink
Update package (#762)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyve authored Sep 17, 2024
1 parent 833352e commit 87f2be7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# https://editorconfig.org/

root = true

[*]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8

[*.py]
max_line_length = 88

[*.toml]
indent_size = 2

[docs/**.rst]
max_line_length = 79

[*.{yaml,yml}]
indent_size = 2
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Update repositories
run: sudo apt-get update
- name: Install GDAL binaries
run: sudo apt-get install binutils libproj-dev gdal-bin
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ unfixable = [
]

[tool.ruff.lint.isort]
known-first-party = ["bootstrap3", "app"]
known-first-party = ["bootstrap4", "app"]
known-third-party = ["django"]

[tool.coverage.run]
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ envlist =
py311-{4.2,5.0,5.1,main},
py312-{4.2,5.0,5.1,main},
docs,
lint,
ruff,

[testenv]
basepython =
Expand All @@ -32,9 +32,8 @@ deps =

[testenv:ruff]
basepython = python3.11
allowlist_externals = ruff
deps = ruff
commands = ruff .
commands = ruff check .

[testenv:docs]
basepython = python3.11
Expand Down

0 comments on commit 87f2be7

Please sign in to comment.