History log of /sqlalchemy/.pre-commit-config.yaml (Results 1 - 14 of 14)
Revision Date Author Comments
# debeea97 12-May-2021 Federico Caselli <cfederico87@gmail.com>

Update black flak8 and zimports

Change-Id: I488c9557eda390e4a88319affd4c8813ee274f80


# 48fa4156 04-Mar.-2021 Mike Bayer <mike_mp@zzzcomputing.com>

use zimports 0.3

Change-Id: Ice8b9f9c1ef1446b6813e5bc9332f1323234cb5f


# 2afc5380 08-Feb.-2021 Federico Caselli <cfederico87@gmail.com>

Ignore flake8 F401 on specific files

Uses the flake8 option per-file-ignores that was introduced in a recent
version of flake8 (3.7.+) to avoid having lots of "noqa" in import
only f

Ignore flake8 F401 on specific files

Uses the flake8 option per-file-ignores that was introduced in a recent
version of flake8 (3.7.+) to avoid having lots of "noqa" in import
only files

Change-Id: Ib4871d63bad7e578165615df139cbf6093479201

show more ...


# de96fb20 20-Feb.-2021 Mike Bayer <mike_mp@zzzcomputing.com>

add versions for pre-commit tools

latest pre-commit is warning for use of "master" so apply version
numbers

Change-Id: I441ae9e29f53f1c99825c12f5fa03163e88ee9ea


# c3f102c9 28-Sep.-2020 Mike Bayer <mike_mp@zzzcomputing.com>

upgrade to black 20.8b1

It's better, the majority of these changes look more readable to me.
also found some docstrings that had formatting / quoting issues.

Change-Id: I582a45f

upgrade to black 20.8b1

It's better, the majority of these changes look more readable to me.
also found some docstrings that had formatting / quoting issues.

Change-Id: I582a45fde3a5648b2f36bab96bad56881321899b

show more ...


# a55a1a41 09-May-2020 Mike Bayer <mike_mp@zzzcomputing.com>

Unpin pydocstyle, minimum for flake8-docstrings 1.3.1

Per https://gitlab.com/pycqa/flake8-docstrings/-/issues/36#note_199635329
flake8-docstrings has repaired the pydocstyle issue as of

Unpin pydocstyle, minimum for flake8-docstrings 1.3.1

Per https://gitlab.com/pycqa/flake8-docstrings/-/issues/36#note_199635329
flake8-docstrings has repaired the pydocstyle issue as of
1.3.1, so unpin pydocstyle.

Change-Id: I117a5df58ff6c5a4087c433ab817ad305df6a17b

show more ...


# f8a037aa 11-Mar.-2020 Mike Bayer <mike_mp@zzzcomputing.com>

Remove trailing slashes in pre-commit config

See https://github.com/sqlalchemy/dogpile.cache/pull/176

Change-Id: Id9a75546d4d0eae93ad837a77c6ffa9249efff5c


# bfddff4c 27-Jan.-2020 Federico Caselli <cfederico87@gmail.com>

Add pyproject

- Added pyproject.toml with black arguments
- Updated black version in precommit hook
- Reformatted the code

Fixes: #5100
Closes: #5103
Pull-request: h

Add pyproject

- Added pyproject.toml with black arguments
- Updated black version in precommit hook
- Reformatted the code

Fixes: #5100
Closes: #5103
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5103
Pull-request-sha: 795fd5f896be4a07a2b18e6525674b815ac17593

Change-Id: I14eedbaa51fb531cbf90fcefe6a1e07c8a565625

show more ...


# abcd8415 18-Oct.-2019 Mike Bayer <mike_mp@zzzcomputing.com>

- add plugins for flake8 pre-commit hook

Change-Id: I18111dfb9915ec6002cd0b66be5d256c2e33a37f


# 6b2875eb 13-Oct.-2019 Mike Bayer <mike_mp@zzzcomputing.com>

- add flake8 as a pre commit hook

Change-Id: Ie9187b9aac636b198df39428cdcb4bcf6f819879


# b0cacfdd 27-Jun.-2019 Mike Bayer <mike_mp@zzzcomputing.com>

Revert 1ed2f162151 black target version

Unfortunately target version py27 makes Black want to break
print functions, even if you put a "from __future__ import print_function"
at the

Revert 1ed2f162151 black target version

Unfortunately target version py27 makes Black want to break
print functions, even if you put a "from __future__ import print_function"
at the top, so it is being inconsistent in its "we've decided this
is a python 2 file" logic and basically this thing really needs
command line arguments

Change-Id: Iefa62df4224b9620e764b16b1c390647f948e85f

show more ...


# 401a2691 27-Jun.-2019 Mike Bayer <mike_mp@zzzcomputing.com>

Unwrap TIMESTAMP when doing an isinstance()

Fixed bug where the special logic to render "NULL" for the
:class:`.TIMESTAMP` datatype when ``nullable=True`` would not work if the
colum

Unwrap TIMESTAMP when doing an isinstance()

Fixed bug where the special logic to render "NULL" for the
:class:`.TIMESTAMP` datatype when ``nullable=True`` would not work if the
column's datatype were a :class:`.TypeDecorator` or a :class:`.Variant`.
The logic now ensures that it unwraps down to the original
:class:`.TIMESTAMP` so that this special case NULL keyword is correctly
rendered when requested.

Fixes: #4743
Change-Id: I02b22dfa3db06daea37b044e2206a8569e2e5d22

show more ...


# 1ed2f162 24-Jun.-2019 Mike Bayer <mike_mp@zzzcomputing.com>

Disable black auto-version detection

We're targeting Python 2.7 still so ensure black does not
add trailing commas

Change-Id: I9896b3a71de855d834f0133fd2d6213aae40fc9d


# 69ebf2cc 18-May-2019 Mike Bayer <mike_mp@zzzcomputing.com>

Add .pre-commit-config.yaml

See https://pre-commit.com/ for documentation on how to use
this file.

SQLAlchemy and related projects make use of Black and zimports
for code fo

Add .pre-commit-config.yaml

See https://pre-commit.com/ for documentation on how to use
this file.

SQLAlchemy and related projects make use of Black and zimports
for code formatting, this hook allows for automated pre-commit
runs.

Change-Id: I4bbb49747e9f7fb52251dc61ecda98361cd036fd

show more ...