Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTV-1888 #192

Open
wants to merge 41 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5ce5dc2
add a devcontainer [PTV-1888]
eapearson Aug 31, 2023
b168c68
update Dockerfiles to use python 3.11.5, bullseye, and fix os depend…
eapearson Aug 31, 2023
dee74d3
add development tools [PTV-1888]
eapearson Aug 31, 2023
7b070cd
ignore jetbrains idea directory and temp dir [PTV-1888]
eapearson Aug 31, 2023
d4905ac
split Python dependencies into service and development, and update th…
eapearson Aug 31, 2023
a7fa5d4
fix flaky tests [PTV-1888]
eapearson Aug 31, 2023
34a4474
fix local config [PTV-1888]
eapearson Sep 1, 2023
ffdb749
add docker plugin to devcontainer [PTV-1888]
eapearson Sep 1, 2023
10cc772
put some work into docs [PTV-1888]
eapearson Sep 1, 2023
d8f2937
Merge remote-tracking branch 'origin/develop' into PTV-1888
eapearson Sep 1, 2023
f23e925
update release notes, update GHA test to use python 3.11.5
eapearson Sep 1, 2023
aba6c7e
fix sonar warning [PTV-1888]
eapearson Sep 1, 2023
e5c1915
code quality gatekeeper changes [PTV-1888]
eapearson Sep 1, 2023
62daccb
run tests in our container [PTV-1888]
eapearson Sep 2, 2023
b68c168
run tests in our container [PTV-1888]
eapearson Sep 2, 2023
0f90a22
improve script invocation [PTV-1888]
eapearson Sep 2, 2023
b79f478
somehow wasn't bookworm
eapearson Sep 2, 2023
153f852
don't run as regular user. [PTV-1888]
eapearson Sep 2, 2023
b19cd9c
be more tolerant of different st_mtime implementations [PTV-1888]
eapearson Sep 2, 2023
806dca8
erik, you are too tired [PTV-1888]
eapearson Sep 2, 2023
f043228
clarify test condition comment [PTV-1888]
eapearson Sep 5, 2023
c5ee5a0
add markdown lint, fix linting errors in all markdown files [PTV-1888]
eapearson Sep 5, 2023
ccb7660
remove old, unused travis config [PTV-1888]
eapearson Sep 5, 2023
09b36e4
top level scripts have moved to the scripts directory [PTV-1888]
eapearson Sep 5, 2023
766872d
fix typos [PTV-1888]
eapearson Sep 5, 2023
4c38f0d
fix doc [PTV-1888]
eapearson Sep 5, 2023
d710581
adjust mtime test precision.
eapearson Sep 5, 2023
c2f9c16
remove spaces (codacy) [PTV-1888]
eapearson Sep 5, 2023
1ad078a
markdown formatting [PTV-1888]
eapearson Sep 5, 2023
d384ec3
omit line for bandit/codacy not sonarcloud (codacy) [PTV-1888]
eapearson Sep 5, 2023
8b6f62e
add openssh-client so can push to github inside devcontainer [PTV-1888]
eapearson Sep 5, 2023
b0485e3
okay, ignore in sonarcloud too [PTV-1888]
eapearson Sep 5, 2023
01dc36a
bullseye -> bookworm [PTV-1888]
eapearson Sep 5, 2023
ae1fc76
revert globus sdk version bump [PTV-1888]
eapearson Sep 12, 2023
14602e2
fix typos [PTV-1899]
eapearson Sep 12, 2023
150421e
refactor Dockerfile to support dev and prod workflows [PTV-1888]
eapearson Sep 15, 2023
34a4636
consolidate tool config into pyproject [PTV-1888]
eapearson Sep 15, 2023
2090307
update python dependencies [PTV-1888]
eapearson Sep 15, 2023
73b0266
set pythonpath [PTV-1888]
eapearson Sep 15, 2023
34f6f36
apply black and isort after new configs [PTV-1888]
eapearson Sep 15, 2023
4d4dc38
remove extra comma [PTV-1888]
eapearson Sep 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
consolidate tool config into pyproject [PTV-1888]
includes aligning black to the previous line length of 100, aligns isort to black (otherwise they fight each other), set up mypy and autoflake, flake8 doesn't use pyproject
  • Loading branch information
eapearson committed Sep 15, 2023
commit 34a463621cee5f5180d9976e8ca443fa912ad281
23 changes: 23 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[tool.black]
line-length = 100

[tool.isort]
profile = "black"

[tool.mypy]
strict=true

[[tool.mypy.overrides]]
module = "aiohttp_cors.*"
ignore_missing_imports = true


[[tool.mypy.overrides]]
module = "globus_sdk.*"
ignore_missing_imports = true


[tool.autoflake]
remove_all_unused_imports = true
remove_unused_variables = true
quiet = true
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[flake8]
max-line-length = 100
# unfortunately, flake8 does not play with pyproject.tom. what a shame.
# one day perhaps we'll switch to ruff.
max-line-length = 100
extend-ignore = E203