Граф коммитов

42 Коммитов

Автор SHA1 Сообщение Дата
Jiashuo Li 818142fbc9
{Pylint} Fix consider-using-enumerate (#30343) 2024-12-11 17:20:24 +08:00
Hang d9de029ea6
{Pylint} Fix unnecessary-dunder-call (#30365) 2024-12-11 15:52:24 +08:00
Jiashuo Li ceba141be9
{Pylint} Fix use-maxsplit-arg (#30344) 2024-12-10 15:47:23 +08:00
Jiashuo Li e8aa309e94
{Pylint} Fix consider-using-dict-items (#30341) 2024-12-10 15:45:45 +08:00
Jiashuo Li 025ac6c50c
{Pylint} Fix arguments-renamed (#30345) 2024-12-09 17:15:54 +08:00
Hang b46f344013
{Pylint} Fix superfluous-parens (#30361) 2024-12-03 17:03:58 +08:00
Hang 978b94cfa0
{Pylint} Fix implicit-str-concat (#30363) 2024-12-03 11:49:33 +08:00
Mads Jensen d1a5844544
{Pylint} Fix super-with-arguments (#30367) 2024-11-28 17:37:28 +08:00
Mads Jensen a9c6b392e7
{Pylint} Fix use-dict-literal (#30308) 2024-11-28 16:37:28 +08:00
Mads Jensen d2cd62b5ab
{Pylint} Fix redundant-u-string-prefix (#30325) 2024-11-28 16:12:35 +08:00
Jiashuo Li b639c9d0de
{Pylint} Fix unused-private-member (#30347) 2024-11-20 18:15:23 +08:00
Jiashuo Li dc3ba8c18c
{Pylint} Fix raising-bad-type (#30346) 2024-11-20 15:46:44 +08:00
Jiashuo Li 228f8ca649
{Pylint} Fix used-before-assignment (#30348) 2024-11-20 15:42:03 +08:00
ZelinWang be4af714ff
{CI} Disable too-many-positional-arguments R0917 (#29952) 2024-09-23 11:58:40 +08:00
Hang 09422be8e0
{Misc.} Improve code style and prepare for pylint 3 (#29373) 2024-07-25 15:54:23 +08:00
Hang 15296fd260
{Misc.} Improve code style and prepare for pylint 2.17 (#26685) 2023-07-17 14:48:57 +08:00
ZelinWang cb0cd3b21e
{CI} azdev style check ignore aaz folder (#26492)
* update

* update

* Update __init__.py

* update
2023-05-25 11:33:24 +08:00
Jiashuo Li 110f7b4020
{Pylint} Fix `consider-using-from-import` (#20236) 2021-11-11 15:17:41 +08:00
Jiashuo Li 15c17c0ae0
{Pylint} Fix `use-list-literal` (#20237) 2021-11-09 15:49:39 +08:00
Jiashuo Li 6ddfc1af6f
{Pylint} Adapt to Pylint 2.11.1 (#20192) 2021-11-05 09:24:57 +08:00
Jiashuo Li 8481a92267
{Pylint} Fix `use-a-generator` (#18523) 2021-06-18 10:54:17 +08:00
Jiashuo Li ed6e829554
{Pylint} Fix `unnecessary-comprehension` (#18013) 2021-05-31 10:43:54 +08:00
Jiashuo Li c3b56d879d
{Pylint} Fix `self-assigning-variable` (#18119) 2021-05-25 17:34:15 +08:00
Jiashuo Li bae390c813
{Pylint} Fix `no-else-continue` (#18001) 2021-05-17 11:50:11 +08:00
Jiashuo Li d69eedd89b
{Pylint} Fix `unrecognized-inline-option` (#18048) 2021-05-17 11:44:54 +08:00
Jiashuo Li 3f230e856a
{Pylint} Fix `no-else-break` (#18000) 2021-05-13 15:54:29 +08:00
Jiashuo Li 4b067902d8
{Pylint} Ignore `tests` folders (#18003) 2021-05-13 14:04:25 +08:00
Jiashuo Li 400dfb13ba
{Pylint} Fix `unused-import` (#17999) 2021-05-13 14:00:50 +08:00
Jiashuo Li 32d269125b
{pylint} Disable more checkers to comply with pylint 2.8.0 (#17861) 2021-05-07 13:58:10 +08:00
MyronFanQiu 1451a5d5ba
{CI} Example of bypassing show-command linter rule (#14903)
* bump to azdev 0.1.28

* disable four show-command linter rules

* ignore bad-option-value for normal pylint
2020-08-25 17:12:24 +08:00
Jianhui Harold 0421019783
{CI} Use azdev to honor local pylint and flake8 configuration (#14402)
* found code style errors

* fix useless-object-inheritance

* found code style errors

* fix wrong-import-order

* fix chained-comparison

* typo

* remove install azdev from master

* typo
2020-07-20 17:02:32 +08:00
Oliver Dolk f1c301b07d functionapp] - devops-build command to create azure devops integration with azure functions (#8382) 2019-02-08 13:51:03 -08:00
Troy Dai 24e3f934f9
Overhaul Travis build configuration
1. Adopt build stage feature. Separate the build process into build,
verify and publish stages.
2. Move build utilties from scripts folder to its own tools folder for
better organization.
3. Publish wheel artifacts to a blob storage container for long-term
persistence.
2017-09-12 14:32:42 -07:00
Troy Dai 480fd0abb7
Update automation scripts to accommodate the new folder structure 2017-06-21 17:13:19 -07:00
Brett Cannon 2834139706 Touch up pylintrc (#3806)
* Use the short name for checkers instead of their codes

* Add naming hints

* Tweak module naming hint
2017-06-21 15:40:35 -07:00
Troy Dai f8d40931d4 Change Pylint rules project-wise (#3254)
* Change Pylint rules project-wise

1. Disable too-many-arguments pylint error. Due to the nature of the
project many methods' arguments set directly reflects the command
options. As a result, there is no way to reduce the arguments set size.
The too-many-arguments disable statement is widely used to the extend
that essentially the rule doesn't matter anymore. I'll disable the rule
globally.

2. Extend the max length to 120 from 100, which is the default pylint
value. The 120 characters lenght is the default github review page's
line limitation.

* Update flake 8 rule
2017-05-08 15:24:52 -07:00
Derek Bekoe d91b87a2e9 Use CLI to target other clouds (#1098)
* remove delete message (+12 squashed commits)
Squashed commits:
[6b9df5b] support removing of default subscription
[261310c] fix some pylint
[0d312a1] Add default subscription support to context
[92a97d7] name change
[2361eaa] context_config to context
[92dc856] az account list now has a --all option
[0fa8d59] Override active context with env var
[40130b6] environment -> context
[14271ff] Rename environmentName to cloudName in 'account list'
- 'account list' should only return accounts for the current cloud
[60cf2c0] use context instead of environment
[fa03638] revert todict change and commented out environment commands
[a029bf9] remove todos (+9 squashed commits)
Squashed commits:
[53e0530] fix role and keyvault not loading
[fd6e087] cloud register/unregister :)
[dd00fa5] use exception convention
[f214720] cloud register commands
[ca6da4a] fix _CLOUD to CLOUD
[e27a466] need to set base_url for SubscriptionClient
[5272b9a] Remove _azure_env
[fc1b6bb] new env and cloud commands
[525330c] cloud list command

* Handle base_url (+10 squashed commits)
- vm module depends on  azure-storage SDK
- Storage data-plane suffix support
- set base urls
- After log in, we should show cloud name
- fix management endpoint for german cloud
- Don't remove the cached creds that match the current user when logging in
- modify cloud help

* better get data service client

* Don't hard code endpoint for storage data-plane

* Add help to context commands (+4 squashed commits)
Squashed commits:
[126c9a8] Code review changes
[cd628d1] Add support for loading registering a cloud using a json file with the params in
[598fd3d] fix no dot

* Fix some pylint warnings

* remove context cyclic import

* fix pylint

* fix params to suffixes change
2016-10-21 16:47:32 -07:00
Derek Bekoe 89d09bb4cd Update from rc4 to rc5 of Azure SDK for Python (#460) 2016-06-27 17:18:04 -07:00
Yugang Wang 3a19a05c6f tests: convert VM and network vcr tests into python unit test (#367)
tests: convert VM and network vcr tests into python unit test
2016-06-07 17:34:44 -07:00
Derek Bekoe bb6e4e7dfe Fix: Pylint was not checking for unused_imports in __init__ files 2016-04-29 10:18:37 -07:00
yugangw-msft 88d81aa59c enabled lint error for trailing whitespaces 2016-03-01 08:09:20 -08:00
yugangw-msft 9ea72a3915 address code analysis errors by pylints 2016-02-29 14:26:38 -08:00