-
Notifications
You must be signed in to change notification settings - Fork 35
Concrete Design Input Data #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dogukankaratas
commented
Oct 26, 2021
- Concrete Design folder created
- Types for Concrete Design folder created
- Test file added under UT folder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
please take into account, that all numbers of lines are +1 due to "#pylint: disable=" at the beginning, when I tested it.
************* Module ConcreteServiceabilityConfigurations
ConcreteServiceabilityConfigurations.py:15:34: C0303: Trailing whitespace (trailing-whitespace)
ConcreteServiceabilityConfigurations.py:29:0: C0303: Trailing whitespace (trailing-whitespace)
ConcreteServiceabilityConfigurations.py:54:0: C0303: Trailing whitespace (trailing-whitespace)
ConcreteServiceabilityConfigurations.py:65:46: C0303: Trailing whitespace (trailing-whitespace)
ConcreteServiceabilityConfigurations.py:66:0: C0304: Final newline missing (missing-final-newline)
************* Module ConcreteUltimateConfigurations
ConcreteUltimateConfigurations.py:15:34: C0303: Trailing whitespace (trailing-whitespace)
ConcreteUltimateConfigurations.py:29:0: C0303: Trailing whitespace (trailing-whitespace)
ConcreteUltimateConfigurations.py:54:0: C0303: Trailing whitespace (trailing-whitespace)
ConcreteUltimateConfigurations.py:65:46: C0303: Trailing whitespace (trailing-whitespace)
ConcreteUltimateConfigurations.py:66:0: C0304: Final newline missing (missing-final-newline)
************* Module TypesforConcreteDesign.ConcreteDurability
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:9:28: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:22:34: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:27:41: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:31:92: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:42:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:83:0: W0311: Bad indentation. Found 13 spaces, expected 16 (bad-indentation)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:84:0: W0311: Bad indentation. Found 17 spaces, expected 20 (bad-indentation)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:85:0: W0311: Bad indentation. Found 13 spaces, expected 16 (bad-indentation)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:86:0: W0311: Bad indentation. Found 17 spaces, expected 20 (bad-indentation)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:94:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:146:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:191:46: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:198:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:199:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:10:16: W0621: Redefining name 'name' from outer scope (line 2) (redefined-outer-name)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:71:11: C0121: Comparison to True should be just 'expr' (singleton-comparison)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:75:15: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:80:11: C0121: Comparison to True should be just 'expr' (singleton-comparison)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:83:13: R1720: Unnecessary "else" after "raise" (no-else-raise)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:83:16: C0121: Comparison to True should be just 'expr' (singleton-comparison)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:97:15: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:117:19: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:132:11: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:137:11: C0121: Comparison to False should be 'not expr' (singleton-comparison)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:150:11: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:155:11: C0121: Comparison to False should be 'not expr' (singleton-comparison)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:171:15: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteDurability.py:2:0: W0611: Unused name imported from os (unused-import)
************* Module TypesforConcreteDesign.ConcreteEffectiveLength
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:9:28: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:16:96: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:17:92: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:18:104: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:20:96: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:21:92: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:24:34: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:28:42: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:29:41: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:39:94: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:40:69: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:41:97: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:46:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:66:27: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:94:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:95:24: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:114:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:122:46: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:129:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:130:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:10:16: W0621: Redefining name 'name' from outer scope (line 2) (redefined-outer-name)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:70:11: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:78:11: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:88:8: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:97:8: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteEffectiveLength.py:2:0: W0611: Unused name imported from os (unused-import)
************* Module TypesforConcreteDesign.ConcreteReinforcementDirections
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteReinforcementDirections.py:9:28: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteReinforcementDirections.py:14:34: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteReinforcementDirections.py:21:84: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteReinforcementDirections.py:49:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteReinforcementDirections.py:57:46: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteReinforcementDirections.py:64:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteReinforcementDirections.py:65:0: C0303: Trailing whitespace (trailing-whitespace)
************* Module TypesforConcreteDesign.ConcreteSurfaceReinforcements
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:9:28: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:17:139: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:21:34: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:39:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:47:87: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:98:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:159:64: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:168:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:183:46: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:190:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:191:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:81:15: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:86:15: C0121: Comparison to False should be 'not expr' (singleton-comparison)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:100:11: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:100:45: C0123: Using type() instead of isinstance() for a typecheck. (unidiomatic-typecheck)
D:\Sources\RFEM_Python_Client_5\RFEM\TypesforConcreteDesign\ConcreteSurfaceReinforcements.py:161:12: C0200: Consider using enumerate instead of iterating with range and len (consider-using-enumerate)
************* Module enums
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:105:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:202:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:317:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:323:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:618:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:642:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:644:0: C0303: Trailing whitespace (trailing-whitespace)
The following issues in enums.py are fixed in main branch.
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:311:0: E0102: class already defined line 113 (function-redefined)
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:318:0: E0102: class already defined line 122 (function-redefined)
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:710:0: E0102: class already defined line 619 (function-redefined)
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:716:0: E0102: class already defined line 625 (function-redefined)
D:\Sources\RFEM_Python_Client_5\RFEM\enums.py:722:0: E0102: class already defined line 631 (function-redefined)
************* Module test_concreteDesign
D:\Sources\RFEM_Python_Client_5\UnitTests\test_concreteDesign.py:33:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\UnitTests\test_concreteDesign.py:60:32: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\UnitTests\test_concreteDesign.py:78:0: C0303: Trailing whitespace (trailing-whitespace)
D:\Sources\RFEM_Python_Client_5\UnitTests\test_concreteDesign.py:80:0: C0304: Final newline missing (missing-final-newline)
Superfluous empty lines line 33 through 52 in comparison to the rest of the file.
Just to let you know, there is a assert showing only when opening empty RFEM and running UnitTests\test_concreteDesign.py. This is the only scenario I was able to replicate it. I assume this is on WS (Igor of Jiri).
…oncreteDesignInput unit tests: 107 passed, 15 skipped in 85.53s (0:01:25)
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
