Skip to content

Commit

Permalink
pre-commit run --all-files
Browse files Browse the repository at this point in the history
  • Loading branch information
namurphy committed Aug 31, 2023
1 parent 3b6c2fc commit 92e82ba
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,31 @@ requires = [
"wheel>=0.34",
] # ought to mirror 'requirements/build.txt'

[tool.ruff]
target-version = "py39"
show-fixes = true
extend-select = [
"UP", # pyupgrade
]
ignore = [
"E501",
]
extend-exclude = [
".jupyter",
"__pycache__",
"_build",
"_dev",
]

[tool.ruff.flake8-import-conventions.aliases]
"astropy.units" = "u"
"matplotlib.pyplot" = "plt"
numpy = "np"
pandas = "pd"

[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401", "F402", "F403"] # ignore import errors

[tool.isort]
line_length = 88
wrap_length = 80
Expand All @@ -32,31 +57,6 @@ te
[tool.gilesbot.pull_requests]
enabled = true

[tool.ruff]
target-version = "py39"
show-fixes = true
extend-select = [
"UP", # pyupgrade
]
ignore = [
"E501",
]
extend-exclude = [
".jupyter",
"__pycache__",
"_build",
"_dev",
]

[tool.ruff.flake8-import-conventions.aliases]
"astropy.units" = "u"
"matplotlib.pyplot" = "plt"
numpy = "np"
pandas = "pd"

[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401", "F402", "F403"] # ignore import errors

[tool.towncrier]
package = "xrtpy"
name = "XRTpy"
Expand Down

0 comments on commit 92e82ba

Please sign in to comment.