Commit Graph

333 Commits

Author SHA1 Message Date
536fd6536b
Merge pull request #98 from enpaul/enp/refactor
Overhaul for stable
2024-08-20 14:09:42 -04:00
bbb075a1de
Expand single character iteration variable 2024-08-20 14:06:51 -04:00
198287a633
Standardize import structure
Standardize on "import module" format rather than "from module import foo" format
Remove _poetry stub module since we directly depend on the poetry package now
Fix conflicts between modules and parameters both named 'poetry'
Fixes #92
2024-08-20 14:06:51 -04:00
4b38b00f81
Update mypy to 1.11
Fix typing errors
2024-08-20 13:14:22 -04:00
863f88d63c
Fix linting errors for pylint 3 2024-08-20 13:02:12 -04:00
d816678975
Update dev dependencies to latest versions 2024-08-16 14:47:06 -04:00
552f2080f5
Remove python 3.7 support, add python 3.12 2024-08-16 14:47:06 -04:00
ddbf442a30
Update to isort and black 24 2024-08-16 14:27:46 -04:00
13cfb8616c
Replace reorder-python-imports with isort
See here for indept explanation: https://github.com/psf/black/issues/4175
See here (and related) for the attitude: https://github.com/asottile/reorder-python-imports/issues/366
2024-08-16 14:26:51 -04:00
df343396a4
Remove safety dependency vulnerability scanner
I went back and fourth on this, but ultimately decided that it's more trouble
than it's worth. Between false positives, deeply nested packages raising
vulnerabilities, and the brittleness of the poetry-plugin-export that the
tooling relies on, it causes more headaches than it avoids. A future PR will
enable dependabot tooling that will open PRs to automatically fix this problem
so I don't have to deal with it anymore (hopefully)
2024-08-16 13:26:12 -04:00
f66e59ab85
Pin all development dependencies to python^3.10 2024-08-16 12:50:51 -04:00
f37463d172
Fix linting errors
Remove unused imports
Disable redundant errors
Add notes for why errors are disabled
2024-08-16 11:06:31 -04:00
6837a64121
Add handling of error when poetry.lock does not exist
Fixes #81
2024-08-16 11:06:31 -04:00
506aae0ccd
Replace optional [poetry] extra with explicit poetry dependencies
Fixes #79
2024-08-16 11:06:31 -04:00
5c4d861230
Consolidate all package handling logic into hook module
This creates a large module to sort through, but the hope is that it
avoids the need to constantly hop around without rhyme or reason to
find the piece of logic you're looking for. The module structure is
mapped to functionality rather than an arbitrary concept of reducing
line number.
2024-08-15 13:55:36 -04:00
f3ae242cf7
Add import exception to Poetry import error message
Fixes #96
2024-08-15 13:55:19 -04:00
57787c6206
Reorganize hooks into dedicated submodule
Fixes #93
2024-08-15 13:55:18 -04:00
661072a69f
Remove unsafe dependency check
Fixes #97
2024-08-15 13:55:17 -04:00
0a46b2d876
Remove deprecated --require-poetry runtime option 2024-08-13 12:48:58 -04:00
c06cdfe8c2
Update transient dependencies 2024-08-13 12:44:45 -04:00
e875008bff
Merge pull request #95 from enpaul/enp/docs
Prep for 1.0 beta release
2023-08-02 11:32:46 -04:00
ef3cf00e6b
Update changelog for 1.0.0b1 2023-08-02 11:29:28 -04:00
230d3cffd9
Bump version to 1.0.0b1 2023-08-02 11:29:28 -04:00
873e1a719c
Remove deprecated option notes from documentation 2023-08-02 11:29:28 -04:00
f6dab542d0
Merge pull request #94 from enpaul/enp/security
Update cryptography to mitigate CVE-2023-2650
2023-08-02 11:18:26 -04:00
7f004fd7e2
Update cryptography to mitigate CVE-2023-2650 2023-08-02 11:14:31 -04:00
76cc63e685
Merge pull request #80 from oshmoun/tox4
Make plugin compatible with tox v4 and poetry 1.5+
2023-08-02 11:08:35 -04:00
Obeida Shamoun
9efcea762e
hooks: only check for require_poetry in env config 2023-07-06 14:33:29 +02:00
Obeida Shamoun
fe95ff5ca1
hooks: remove obsolete install_project_deps ternary 2023-07-06 14:32:26 +02:00
Obeida Shamoun
6991f29b4d
hooks: remove commented code 2023-07-06 14:31:03 +02:00
Obeida Shamoun
2b8936267e
remove unneeded tox_add_core_config hook 2023-06-24 01:56:54 +02:00
Obeida Shamoun
3f99f3476c
poetry.lock: update vulnerable requests package 2023-06-24 01:44:48 +02:00
Obeida Shamoun
46a7619c4f
hooks: add log message before calling install() 2023-06-24 01:44:48 +02:00
Obeida Shamoun
c81215bc3b
implement tox_add_option hook 2023-06-24 01:44:47 +02:00
Obeida Shamoun
0693ce4706
restrict poetry and tox versions to latest versions 2023-06-24 01:44:47 +02:00
Obeida Shamoun
a489fe2c53
Move away from soon-to-be-removed PipInstaller 2023-06-24 01:44:47 +02:00
Obeida Shamoun
a94933e7ef
[WIP] Make plugin compatible with tox v4 2023-06-24 01:44:47 +02:00
c55ba474c7
Add parallel flag to makefile test target 2023-05-19 14:31:39 -04:00
2b75f74996
Merge pull request #90 from enpaul/enp/block-1.5
Block compatibility with Poetry-1.5 until plugin is updated
2023-05-19 14:25:54 -04:00
449381ca09
Update mdformat to mitigate CVE-2023-26303
Update markdown format with new version of mdformat
2023-05-19 14:21:17 -04:00
bb44db0f9d
Update changelog for 0.10.3 2023-05-19 14:08:35 -04:00
afaf025485
Bump version to 0.10.3 2023-05-19 13:56:45 -04:00
c984abbc2f
Update poetry requirement to remove compatibility with ^1.5 2023-05-19 13:56:00 -04:00
cee49ff6c0
Update changelog for 0.10.2 2023-03-29 19:29:20 -04:00
11a478bd4e
Bump version to 0.10.2 2023-03-29 19:25:29 -04:00
5e26a4e0de
Update documentation
Add link to official poetry docs on tox integration
Add emojis to notes/warnings to improve ease of comprehension
Update docs with new poetry command syntax
Remove link to deprecated tox-poetry plugin
Remove docs on unsafe dependencies
2023-03-29 19:24:47 -04:00
c6c35636cd
Merge pull request #87 from chriskuehl/raise-exceptions-from-install
Ensure exceptions which occur during install are propagated
2023-03-29 19:04:12 -04:00
Chris Kuehl
bc75c57126
Fix pylint errors 2023-03-29 17:53:14 -05:00
Chris Kuehl
7e5bc30b93
Try inline import in tests to avoid disrupting fixture monkeypatching 2023-03-29 17:53:06 -05:00
Chris Kuehl
593f260278
Ensure exceptions which occur during install are propagated 2023-03-29 17:52:51 -05:00