Commit Graph

88 Commits

Author SHA1 Message Date
rallytime
9ff2694155 Merge branch '2016.11' into 'nitrogen'
Conflicts:
  - pkg/salt-minion.service
  - salt/modules/junos.py
  - salt/modules/localemod.py
  - salt/modules/win_system.py
  - salt/states/junos.py
  - tests/unit/modules/test_localemod.py
  - tests/unit/modules/test_win_powercfg.py
  - tests/unit/states/dockerng_test.py
2017-05-24 16:32:59 -06:00
Benjamin Drung
33a7f8b2ec Fix typos
lintian found several spelling errors.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2017-05-24 12:50:29 +02:00
Pedro Algarvio
0de35b51cc
Lint and syntax fixes 2017-03-09 19:29:15 +00:00
Pedro Algarvio
5e1dba88c7
The pylint-salt plugin was renamed 2017-03-09 19:29:15 +00:00
Pedro Algarvio
1e167d4042
pytest and pytestsalt should be considered good 3rd-party imports on develop 2017-03-06 14:35:16 +00:00
Pedro Algarvio
f79ac6690a
We can ignore local imports(to functions/if statements) convention errors.
If the users has put those imports within a function body or inside an
if statement, he's probably making sure no `ImportError` is raised.
2017-03-06 14:35:14 +00:00
Pedro Algarvio
d7f05e68ee
Start linting 3rd-party imports 2017-03-06 00:51:19 +00:00
Pedro Algarvio
251c4c20ab
Add PyLint checker to make sure salttesting is not being used on develop 2017-03-01 01:33:08 +00:00
Pedro Algarvio
8a0f9fa2fe
The develop branch no longer targets python 2.6 2017-02-24 00:49:32 +00:00
Mike Place
3fb928b63a Merge pull request #39569 from s0undt3ch/2016.3
Don't use our own six dictionary fixes in this branch
2017-02-22 11:59:48 -07:00
Pedro Algarvio
49da135abd
Don't use our own six dictionary fixes in this branch 2017-02-22 17:18:55 +00:00
Pedro Algarvio
1dd7d8d88f
Require SaltPyLint >= v2017.2.22
Minimal Python version for develop is now 2.7
2017-02-22 12:15:31 +00:00
Daniel Wallace
c3e33c3b99 use the cache runner in the cache roster file to get grains
Instead of having to query each file individitually.
2016-11-01 09:38:34 -05:00
rallytime
78a144f19a Merge branch '2015.8' into '2016.3'
No conflicts.
2016-10-18 09:16:21 -06:00
Daniel Wallace
4eb0a89b7c remove options from pylint (#37054)
These are going to be removed in pylint 1.6, and it doesn't appear that
we are using them, and just causes extra output.
2016-10-17 14:24:25 -06:00
rallytime
6360ecd3b3 Merge branch '2015.8' into '2016.3'
Conflicts:
  - salt/cloud/clouds/scaleway.py
  - salt/config/__init__.py
  - salt/log/mixins.py
  - salt/minion.py
  - salt/modules/ps.py
  - salt/utils/decorators/__init__.py
  - salt/utils/schema.py
  - tests/unit/modules/etcd_mod_test.py
  - tests/unit/modules/file_test.py
2016-03-18 11:26:12 -06:00
rallytime
1a1ce05186 Merge branch '2015.5' into '2015.8'
Conflicts:
  - .testing.pylintrc
  - salt/cloud/clouds/joyent.py
2016-03-15 12:34:57 -06:00
justinta89
9ccce7a9a5 Added more disables 2016-03-11 11:29:21 -07:00
justinta89
9c1aab3b4e Updated .testing.pylintrc to match newer versions of pylint 2016-03-11 10:59:43 -07:00
Thomas S Hatch
c7575c992e update lint with new thorium builtins 2016-02-03 18:34:17 -07:00
Mike Place
7e540e2c35 Adding new dunders to pylintrcs
Make __serializers__ known to pylint. Refs #28926 and #28906
2015-11-18 11:39:23 -07:00
C. R. Oldham
bdffb9f57b Add config option so old-style proxymodules will keep loading 2015-10-12 08:34:36 -06:00
Colton Myers
cca8ddc886 Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
Conflicts:
    .pylintrc
    .testing.pylintrc
    salt/auth/pam.py
    salt/modules/win_status.py
    salt/utils/network.py
    salt/utils/schedule.py
    tests/unit/renderers/gpg_test.py
    tests/unit/states/boto_secgroup.py
2015-04-29 12:01:52 -06:00
Pedro Algarvio
ee9d6ed6af Start checking code to enforce a minimum python version support 2015-04-26 10:40:35 +01:00
Pedro Algarvio
bea3c36b19 Revert "We're not running the py3 checker"
This reverts commit 7f396cf978.
2015-04-26 09:47:21 +01:00
Pedro Algarvio
7f396cf978 We're not running the py3 checker 2015-04-25 21:14:49 +01:00
Pedro Algarvio
5f7ab3dc36 Another PEP-8 preciosity disabled 2015-04-21 20:35:14 -06:00
Pedro Algarvio
430c5cfdf7 Another PEP-8 preciosity disabled 2015-04-22 00:46:20 +01:00
Colton Myers
bd6ecdfd43 Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
Conflicts:
    doc/topics/installation/windows.rst
    doc/topics/tutorials/gitfs.rst
    salt/pillar/pepa.py
    salt/states/artifactory.py
    salt/states/pip_state.py
    salt/transport/__init__.py
2015-04-21 10:42:22 -06:00
Pedro Algarvio
62ae9e061a Forgot to add the code 2015-04-21 15:08:42 +01:00
Pedro Algarvio
3ae68c4f7b Minor cosmetic changes in order not to disable the PEP8 PyLint code all together 2015-04-21 15:03:47 +01:00
Pedro Algarvio
4002d90e19 Disable W1307 (invalid-format-index)
Using invalid lookup key '%s' in format specifier "0['%s']"
2015-04-21 14:51:54 +01:00
Colton Myers
000de95974 Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
Conflicts:
    .pylintrc
    doc/ref/runners/all/salt.runners.nacl.rst
    doc/topics/cloud/config.rst
    salt/cli/salt.py
    salt/client/mixins.py
    salt/client/ssh/__init__.py
    salt/loader.py
    salt/minion.py
    salt/modules/cassandra_cql.py
    salt/modules/gpg.py
    salt/modules/grains.py
    salt/modules/iptables.py
    salt/modules/yumpkg.py
    salt/netapi/rest_cherrypy/app.py
    salt/renderers/pyobjects.py
    salt/returners/mysql.py
    salt/runners/jobs.py
    salt/state.py
    salt/states/file.py
    salt/states/service.py
    salt/utils/minions.py
    tests/integration/__init__.py
    tests/integration/netapi/rest_tornado/test_app.py
    tests/integration/states/cmd.py
2015-04-16 12:15:44 -06:00
Matthew Williams
00f170bfb4 make pylint happy 2015-04-13 19:33:52 +00:00
Colton Myers
0b7ac988cc Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
Conflicts:
    .pylintrc
    salt/beacons/service.py
    salt/beacons/sh.py
    salt/modules/cassandra_cql.py
    salt/returners/cassandra_cql_return.py
2015-04-01 14:22:33 -06:00
Colton Myers
1e3160f21c Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2 2015-04-01 14:17:35 -06:00
Pedro Algarvio
ca615cd92d Ignore W1202 (logging-format-interpolation)
"Use % formatting in logging functions but pass the % parameters as arguments"
2015-03-31 19:21:30 +01:00
Pedro Algarvio
a1586ef4f6 Ignore E8731 - do not assign a lambda expression, use a def 2015-03-31 19:13:58 +01:00
Colton Myers
ed51f2bb7c Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2 2015-03-31 11:25:27 -06:00
Pedro Algarvio
38f95ec4bb Disable PEP8 E402(E8402). Module level import not at top of file. 2015-03-31 09:41:04 +01:00
Pedro Algarvio
62f868a076 Merge branch '2015.2' into develop 2015-02-27 10:02:47 +00:00
Pedro Algarvio
bd195af136 Add __salt_system_encoding__ to the known globals 2015-02-24 13:08:14 +00:00
Pedro Algarvio
b6101f7cb8 Disable the modernize pylint plugin dict fixes 2015-02-10 00:46:51 +00:00
Pedro Algarvio
f0f3fb2de6 Add __instance_id__ as a known global variable 2015-01-30 22:27:20 +00:00
Pedro Algarvio
a912d0b268 Fix the __jid_event__ removed during the rebase 2015-01-30 22:27:08 +00:00
Pedro Algarvio
2344ead46f The string module is not deprecated, only some functions of it. 2015-01-30 22:27:08 +00:00
Pedro Algarvio
2751807e4e No reports 2015-01-30 22:27:07 +00:00
Pedro Algarvio
8af3e9b16a Revert "Reuse existing .pylintrc and only change what's necessary."
This reverts commit 92394d39be5b9e481dcad133b7c51f442d80dce7.
2015-01-30 22:27:07 +00:00
Pedro Algarvio
8990e3710d Reuse existing .pylintrc and only change what's necessary. 2015-01-30 22:27:07 +00:00
Pedro Algarvio
f51672ac30 Update PyLint RC files to support 1.4.0 options 2015-01-30 22:27:00 +00:00