Skip to content

Commit 35d6b76

Browse files
author
carlio
committed
Merging origin develop while adding update to changelog about #292 fix
2 parents 9500490 + 816647b commit 35d6b76

File tree

6 files changed

+32
-3
lines changed

6 files changed

+32
-3
lines changed

.pre-commit-hooks.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- id: prospector
2+
name: prospector
3+
description: Analyze Python code using Prospector
4+
entry: prospector
5+
language: python
6+
types: [python]

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
Prospector Changelog
22
=======
33

4-
## Version 1.1.5 (placeholder for release)
4+
## Version 1.1.6 (placeholder for release)
55
- [#292](https://github.com/PyCQA/prospector/issues/292) Adding pylint plugin dependencies back and fixing autodetect behaviour.
66

7+
# Version 1.1.5
8+
- [#283](https://github.com/PyCQA/prospector/pull/283) Remove unexpected argument from read_config_file - Remove quiet
9+
argument
10+
- [#291](https://github.com/PyCQA/prospector/pull/291) Update pycodestyle support until 2.4.0
11+
- [#280](https://github.com/PyCQA/prospector/pull/280) Add strict option and fixed emacs output format for mypy tool
12+
- [#282](https://github.com/PyCQA/prospector/pull/282) Fix working dir detection
13+
714
## Version 1.1.4
815
- [#285](https://github.com/PyCQA/prospector/issues/285) Fix dependency tree resolution - now insists on `pep8-naming<=0.4.1` as later versions cause conflicting versions of flake8 to be installed.
916

README.rst

+12
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,18 @@ Possible values are ``verylow``, ``low``, ``medium``, ``high``, ``veryhigh``.
132132
Prospector does not include documentation warnings by default, but you can turn
133133
this on using the ``--doc-warnings`` flag.
134134

135+
pre-commit
136+
----------
137+
138+
If you'd like Prospector to be run automatically when making changes to files in your Git
139+
repository, you can install `pre-commit <https://pre-commit.com/>`_ and add the following
140+
text to your repositories' ``.pre-commit-config.yaml``::
141+
142+
repos:
143+
- repo: https://github.com/PyCQA/prospector
144+
rev: 1.1.4 # The version of Prospector to use
145+
hooks:
146+
- id: prospector
135147

136148
License
137149
-------

prospector/__pkginfo__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# -*- coding: utf-8 -*-
2-
__version_info__ = (1, 1, 4)
2+
__version_info__ = (1, 1, 5)
33
__version__ = '.'.join(map(str, __version_info__))

prospector/config/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ def _find_used_libraries(self, config, profile):
163163

164164
# Bring in adaptors that we automatically detect are needed
165165
if config.autodetect and profile.autodetect is True:
166-
map(libraries.append, autodetect_libraries(self.workdir))
166+
for found_dep in autodetect_libraries(self.workdir):
167+
libraries.append(found_dep)
167168

168169
# Bring in adaptors for the specified libraries
169170
for name in set(config.uses + profile.uses):

setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919

2020
_INSTALL_REQUIRES = [
2121
'pylint-plugin-utils>=0.2.6',
22+
'pylint-django==2.0.2',
23+
'pylint-celery==0.3',
24+
'pylint-flask==0.5',
2225
'requirements-detector>=0.6',
2326
'setoptconf>=0.2.0',
2427
'dodgy>=0.1.9',

0 commit comments

Comments
 (0)