Pedro Algarvio
6b942545af
Concentrate common requirements in a single .in
file
2021-01-13 11:25:46 +00:00
Pedro Algarvio
feda66c226
Bump remove-import-headers
pre-commit hook to 1.1.0
2021-01-12 11:35:23 +00:00
Pedro Algarvio
ed4b34525a
Fix the filemap checks
2020-12-04 07:44:52 +00:00
Pedro Algarvio
e4188e7a9f
Add hook to check for badly named changelog entries
2020-10-19 16:21:55 +01:00
Pedro Algarvio
b427688048
Start checking rst files at pre-commit level with rstcheck
...
Additionally, fixed most of the errors reported by rstcheck.
Fixes https://github.com/saltstack/salt/issues/58668
2020-10-13 13:53:16 -07:00
Pedro Algarvio
12f7e06720
Even more complete static requirements regexes
2020-10-13 03:12:57 +01:00
Pedro Algarvio
7e7cbf3ffa
Switch to the remove-import-headers pre-commit hook
2020-10-07 10:46:20 +01:00
Pedro Algarvio
0cbc264fe1
Fix pre-commit pip-tools-compile regexes
2020-10-04 21:35:07 +01:00
Pedro Algarvio
49556caf05
Rework static requirements. Darwin and Windows packaging are now also static.
...
Refs https://github.com/saltstack/release-planning/issues/238
2020-09-30 09:31:49 +01:00
Pedro Algarvio
67b25add12
Add packaging static requirements
2020-09-30 09:31:49 +01:00
Pedro Algarvio
7efd60131b
Move CI static requirements to it's own subdirectory
2020-09-30 09:31:48 +01:00
Pedro Algarvio
65e12043eb
Automatically remove import comments on files.
...
This is desired because now imports are automatically sorted and these
header comments often get misplaced.
Fixes #57979
2020-09-24 13:47:43 -07:00
Pedro Algarvio
e58f38f879
Update pre-commit from nox-py2 to nox
...
Fixes #58522
2020-09-24 13:47:43 -07:00
Pedro Algarvio
fe2b02ac7c
Revert "Bump black to version 20.8b1"
...
This reverts commit e22fa636f5
.
2020-09-01 10:31:14 +01:00
Pedro Algarvio
cd9a439ce5
Bump black to version 20.8b1
2020-08-31 13:34:59 -07:00
Pedro Algarvio
cf391a2cdf
Start upgrading codebase to Py3 for every changed file
2020-07-28 15:25:33 -07:00
Pedro Algarvio
5e72e192f9
Blacken docs
2020-06-09 03:37:02 -07:00
Pedro Algarvio
3cd6042b93
Fix macOS static requirements
2020-06-08 17:37:03 -07:00
Pedro Algarvio
fb2893536e
Support FreeBSD static requirements
2020-06-04 09:44:00 -07:00
Pedro Algarvio
e6e1ab3ef6
Add task to check tests/filename_map.yml
validity
2020-05-19 10:18:24 -07:00
ch3ll
c87642181e
add towncrier to manage changelog
2020-05-07 16:22:31 -07:00
Pedro Algarvio
6a4703146c
Replace tests/unit/test_doc.py
with a pre-commit hook.
...
We don't need to test docs on all platforms. In turn, we make the check
a pre-commit hook which seems more suited.
2020-04-23 20:01:05 +01:00
Pedro Algarvio
a5b9961f78
Lay the ground for invoke
usage
2020-04-23 18:42:47 +01:00
Pedro Algarvio
cc8c3f09c6
Update static requirements to include Py3.8 and Py3.9 (except windows)
...
Windows required package pywin32 doesn't state that it support any
python version above Py3.7
2020-04-22 12:26:21 +01:00
ch3ll
2586f716b2
Revert "add towncrier to manage changelog"
...
This reverts commit 57d160cc60
.
2020-04-20 09:34:36 -04:00
ch3ll
57d160cc60
add towncrier to manage changelog
2020-04-16 17:04:49 -04:00
Felippe Burk
0cf809a3c3
adding saltstack-internal tag to get perms right
2020-04-14 11:23:56 -06:00
Daniel Wozniak
6ed2bd8c80
Merge pull request #56601 from s0undt3ch/hotfix/drop-py2-builds
...
Drop static requirements for Sodium unsupported versions
2020-04-10 13:38:57 -07:00
Wayne Werner
7d42fee94a
Fix toml file
2020-04-10 14:52:32 -05:00
Wayne Werner
cf0c6c5d65
Back to .isort.cfg
...
At least until version 5 of isort is actually released.
2020-04-10 09:10:05 -05:00
Pedro Algarvio
68c90783f8
Drop static requirements for Sodium unsupported versions
2020-04-10 10:04:51 +01:00
Wayne Werner
35c4d92bc6
Also install isort[pyproject] for toml dependency
2020-04-09 15:51:15 -05:00
Wayne Werner
a8ef59e76f
Fix pre-commit excludes
...
When pre-commit provides paths to isort/black, their default excludes
are ignored. So we have to tell pre-commit to *also* exclude black and
isort excludes.
2020-04-09 14:25:01 -05:00
Wayne Werner
7ed3111efc
Set default language version
2020-04-09 14:25:01 -05:00
Wayne Werner
1b88d1816d
Remove black py language version
...
This is not, strictly speaking, necessary. Removing the language version
allows use of one's default supported python (3.6+).
2020-04-09 14:25:01 -05:00
Wayne Werner
c1baa329c6
Add black and isort to precommit
...
E203 is *not* pep8 compliant, pylint.
2020-04-03 08:10:58 -05:00
Pedro Algarvio
e6cc2a6192
Separate pyobjc requirements
2020-03-23 22:52:24 +00:00
twangboy
224f72d0f2
Update noxfile and .precommit
2020-03-23 13:58:38 -06:00
twangboy
3bda8ddb82
Update noxfile and pre-commit
2020-03-20 17:52:59 -06:00
Salt Admin
732ecc83c1
Update pre-commit config
2020-03-19 12:52:52 -06:00
Pedro Algarvio
69a3d33f09
Replace pycryptodome with pycrypto
...
Due to issues found during package testing for the several supported
linux distributions, we're switching back our crypto depencency to
pycrypto.
Security concerned users are still advised to install the latest m2crypto
or pycryptodome library after pip installing salt since salt is prepared
to work with whatever is available.
2020-01-31 17:56:58 +00:00
Pedro Algarvio
02d1a7d984
Have nox reuse pre-commit's virtualenv
2020-01-03 13:38:20 +00:00
Pedro Algarvio
0bec0597ab
Start linting under Py3
2020-01-03 08:34:57 +00:00
Pedro Algarvio
8faaa0928c
Fix crypto requirements generation
2019-12-11 16:10:47 +00:00
Pedro Algarvio
27d5b07228
Fix regexes for the lint pre-commit hooks
2019-12-02 17:17:43 +00:00
Pedro Algarvio
73bac9318a
Fix lint-tests pre-commit hook
2019-12-02 16:43:09 +00:00
Pedro Algarvio
7212e45a1c
Add lint pre-commit hooks
2019-11-30 18:39:21 +00:00
Pedro Algarvio
c086a7546a
Add crypto requirements constrains.
...
Additionally, add support for OSX constrains file into noxfile.
2019-10-28 13:55:06 +00:00
Pedro Algarvio
503f1e2a82
Consolidate linux static requirements
2019-10-17 20:22:46 +01:00
Pedro Algarvio
fe31c3963c
The transport is no longer part of the requirements filename
2019-10-17 20:22:46 +01:00