Skip to content

Commit

Permalink
Merge pull request #82 from TGoddessana/improve-ci
Browse files Browse the repository at this point in the history
Remove unnecessary files and improve github workflows
  • Loading branch information
TGoddessana authored Feb 9, 2024
2 parents 3ad7577 + d25888f commit a10f56b
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 31 deletions.
2 changes: 0 additions & 2 deletions .darglint

This file was deleted.

1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

5 changes: 1 addition & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ jobs:
include:
- { python: "3.12", os: "ubuntu-latest", session: "pre-commit" }
- { python: "3.9", os: "ubuntu-latest", session: "mypy" }
- { python: "3.12", os: "ubuntu-latest", session: "mypy" }
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
- { python: "3.12", os: "windows-latest", session: "tests" }
- { python: "3.12", os: "macos-latest", session: "tests" }
- { python: "3.12", os: "ubuntu-latest", session: "tests" }
- { python: "3.12", os: "ubuntu-latest", session: "typeguard" }
- { python: "3.12", os: "ubuntu-latest", session: "xdoctest" }
- { python: "3.12", os: "ubuntu-latest", session: "docs-build" }
Expand Down
7 changes: 0 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ repos:
entry: check-yaml
language: system
types: [yaml]
- id: darglint
name: darglint
entry: darglint
language: system
types: [python]
stages: [manual]
- id: end-of-file-fixer
name: Fix End of Files
entry: end-of-file-fixer
Expand All @@ -39,7 +33,6 @@ repos:
language: system
types: [python]
require_serial: true
args: [--darglint-ignore-regex, .*]
- id: isort
name: isort
entry: isort
Expand Down
3 changes: 1 addition & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
raise SystemExit(dedent(message)) from None

package = "flask_moreshell"
python_versions = ["3.12", "3.11", "3.10", "3.9"]
python_versions = ["3.12", "3.9"]
# nox.needs_version = ">= 2021.6.6"
nox.options.sessions = (
"pre-commit",
Expand Down Expand Up @@ -119,7 +119,6 @@ def precommit(session: Session) -> None:
]
session.install(
"black",
"darglint",
"flake8",
"flake8-bandit",
"flake8-bugbear",
Expand Down
15 changes: 2 additions & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ flask-moreshell = "flask_moreshell.__main__:main"
Pygments = ">=2.10.0"
black = ">=21.10b0"
coverage = { extras = ["toml"], version = ">=6.2" }
darglint = ">=1.8.1"
flake8 = ">=4.0.1"
flake8-bandit = ">=2.1.2"
flake8-bugbear = ">=21.9.2"
Expand Down Expand Up @@ -79,7 +78,6 @@ lines_after_imports = 2

[tool.mypy]
strict = true
exclude = ["^tests"]
warn_unreachable = true
pretty = true
show_column_numbers = true
Expand Down

0 comments on commit a10f56b

Please sign in to comment.